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