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