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