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