pub struct AdminGetPageResponse {
pub content: String,
pub created_at: f64,
pub locale: AdminGetPageResponseLocale,
pub nav_order: Option<f64>,
pub path: String,
pub published: bool,
pub show_in_footer: bool,
pub slug: String,
pub title: String,
pub updated_at: f64,
}Expand description
AdminGetPageResponse
JSON schema
{
"type": "object",
"required": [
"content",
"createdAt",
"locale",
"navOrder",
"path",
"published",
"showInFooter",
"slug",
"title",
"updatedAt"
],
"properties": {
"content": {
"type": "string"
},
"createdAt": {
"type": "number"
},
"locale": {
"type": "string",
"enum": [
"en",
"de",
"es",
"fr",
"it",
"zh-CN"
]
},
"navOrder": {
"type": [
"number",
"null"
]
},
"path": {
"type": "string"
},
"published": {
"type": "boolean"
},
"showInFooter": {
"type": "boolean"
},
"slug": {
"type": "string"
},
"title": {
"type": "string"
},
"updatedAt": {
"type": "number"
}
}
}Fields§
§content: String§created_at: f64§locale: AdminGetPageResponseLocale§path: String§published: bool§slug: String§title: String§updated_at: f64Implementations§
Source§impl AdminGetPageResponse
impl AdminGetPageResponse
pub fn builder() -> AdminGetPageResponse
Trait Implementations§
Source§impl Clone for AdminGetPageResponse
impl Clone for AdminGetPageResponse
Source§fn clone(&self) -> AdminGetPageResponse
fn clone(&self) -> AdminGetPageResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AdminGetPageResponse
impl Debug for AdminGetPageResponse
Source§impl<'de> Deserialize<'de> for AdminGetPageResponse
impl<'de> Deserialize<'de> for AdminGetPageResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&AdminGetPageResponse> for AdminGetPageResponse
impl From<&AdminGetPageResponse> for AdminGetPageResponse
Source§fn from(value: &AdminGetPageResponse) -> Self
fn from(value: &AdminGetPageResponse) -> Self
Converts to this type from the input type.
Source§impl From<AdminGetPageResponse> for AdminGetPageResponse
impl From<AdminGetPageResponse> for AdminGetPageResponse
Source§fn from(value: AdminGetPageResponse) -> Self
fn from(value: AdminGetPageResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for AdminGetPageResponse
impl Serialize for AdminGetPageResponse
Source§impl TryFrom<AdminGetPageResponse> for AdminGetPageResponse
impl TryFrom<AdminGetPageResponse> for AdminGetPageResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AdminGetPageResponse) -> Result<Self, ConversionError>
fn try_from(value: AdminGetPageResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AdminGetPageResponse
impl RefUnwindSafe for AdminGetPageResponse
impl Send for AdminGetPageResponse
impl Sync for AdminGetPageResponse
impl Unpin for AdminGetPageResponse
impl UnsafeUnpin for AdminGetPageResponse
impl UnwindSafe for AdminGetPageResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more