pub struct AdminListPagesResponsePagesItem {
pub content: String,
pub created_at: f64,
pub locale: AdminListPagesResponsePagesItemLocale,
pub nav_order: Option<f64>,
pub path: String,
pub published: bool,
pub show_in_footer: bool,
pub slug: String,
pub title: String,
pub translations: Vec<AdminListPagesResponsePagesItemTranslationsItem>,
pub updated_at: f64,
}Expand description
AdminListPagesResponsePagesItem
JSON schema
{
"type": "object",
"required": [
"content",
"createdAt",
"locale",
"navOrder",
"path",
"published",
"showInFooter",
"slug",
"title",
"translations",
"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"
},
"translations": {
"type": "array",
"items": {
"type": "string",
"enum": [
"en",
"de",
"es",
"fr",
"it",
"zh-CN"
]
}
},
"updatedAt": {
"type": "number"
}
}
}Fields§
§content: String§created_at: f64§locale: AdminListPagesResponsePagesItemLocale§path: String§published: bool§slug: String§title: String§translations: Vec<AdminListPagesResponsePagesItemTranslationsItem>§updated_at: f64Implementations§
Trait Implementations§
Source§impl Clone for AdminListPagesResponsePagesItem
impl Clone for AdminListPagesResponsePagesItem
Source§fn clone(&self) -> AdminListPagesResponsePagesItem
fn clone(&self) -> AdminListPagesResponsePagesItem
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<'de> Deserialize<'de> for AdminListPagesResponsePagesItem
impl<'de> Deserialize<'de> for AdminListPagesResponsePagesItem
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<&AdminListPagesResponsePagesItem> for AdminListPagesResponsePagesItem
impl From<&AdminListPagesResponsePagesItem> for AdminListPagesResponsePagesItem
Source§fn from(value: &AdminListPagesResponsePagesItem) -> Self
fn from(value: &AdminListPagesResponsePagesItem) -> Self
Converts to this type from the input type.
Source§impl From<AdminListPagesResponsePagesItem> for AdminListPagesResponsePagesItem
impl From<AdminListPagesResponsePagesItem> for AdminListPagesResponsePagesItem
Source§fn from(value: AdminListPagesResponsePagesItem) -> Self
fn from(value: AdminListPagesResponsePagesItem) -> Self
Converts to this type from the input type.
Source§impl TryFrom<AdminListPagesResponsePagesItem> for AdminListPagesResponsePagesItem
impl TryFrom<AdminListPagesResponsePagesItem> for AdminListPagesResponsePagesItem
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: AdminListPagesResponsePagesItem,
) -> Result<Self, ConversionError>
fn try_from( value: AdminListPagesResponsePagesItem, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AdminListPagesResponsePagesItem
impl RefUnwindSafe for AdminListPagesResponsePagesItem
impl Send for AdminListPagesResponsePagesItem
impl Sync for AdminListPagesResponsePagesItem
impl Unpin for AdminListPagesResponsePagesItem
impl UnsafeUnpin for AdminListPagesResponsePagesItem
impl UnwindSafe for AdminListPagesResponsePagesItem
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