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