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