Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2706373
structs.rs
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
442 B
Referenced Files
None
Subscribers
None
structs.rs
View Options
use
rocket
::
serde
::
Serialize
;
use
utoipa
::
ToSchema
;
#[derive(Serialize, ToSchema)]
pub
(
crate
)
struct
ErrorMessage
{
#[schema(example = 404)]
pub
(
crate
)
code
:
u16
,
#[schema(example =
"Not Found"
)]
pub
(
crate
)
message
:
&
'
static
str
,
}
#[derive(Serialize, ToSchema)]
pub
(
crate
)
struct
AuthMessage
{
#[schema(example = 401)]
pub
(
crate
)
code
:
u16
,
#[schema(example =
"Unauthorized"
)]
pub
(
crate
)
message
:
String
,
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 1, 10:46 AM (6 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
494654
Default Alt Text
structs.rs (442 B)
Attached To
Mode
rPMC Process Management Controller
Attached
Detach File
Event Timeline
Log In to Comment