pub struct ListPagesResponse {
pub pages: Vec<ListPagesResponsePagesItem>,
}Expand description
ListPagesResponse
JSON schema
{
"type": "object",
"required": [
"pages"
],
"properties": {
"pages": {
"type": "array",
"items": {
"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§
§pages: Vec<ListPagesResponsePagesItem>Implementations§
Source§impl ListPagesResponse
impl ListPagesResponse
pub fn builder() -> ListPagesResponse
Trait Implementations§
Source§impl Clone for ListPagesResponse
impl Clone for ListPagesResponse
Source§fn clone(&self) -> ListPagesResponse
fn clone(&self) -> ListPagesResponse
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 ListPagesResponse
impl Debug for ListPagesResponse
Source§impl<'de> Deserialize<'de> for ListPagesResponse
impl<'de> Deserialize<'de> for ListPagesResponse
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<&ListPagesResponse> for ListPagesResponse
impl From<&ListPagesResponse> for ListPagesResponse
Source§fn from(value: &ListPagesResponse) -> Self
fn from(value: &ListPagesResponse) -> Self
Converts to this type from the input type.
Source§impl From<ListPagesResponse> for ListPagesResponse
impl From<ListPagesResponse> for ListPagesResponse
Source§fn from(value: ListPagesResponse) -> Self
fn from(value: ListPagesResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for ListPagesResponse
impl Serialize for ListPagesResponse
Source§impl TryFrom<ListPagesResponse> for ListPagesResponse
impl TryFrom<ListPagesResponse> for ListPagesResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ListPagesResponse) -> Result<Self, ConversionError>
fn try_from(value: ListPagesResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ListPagesResponse
impl RefUnwindSafe for ListPagesResponse
impl Send for ListPagesResponse
impl Sync for ListPagesResponse
impl Unpin for ListPagesResponse
impl UnsafeUnpin for ListPagesResponse
impl UnwindSafe for ListPagesResponse
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