pub struct AskamaDocumentMetadata {
pub title: Option<String>,
pub headings: Option<Vec<AskamaDocumentHeading>>,
}
Fields§
§title: Option<String>
§headings: Option<Vec<AskamaDocumentHeading>>
Implementations§
Source§impl AskamaDocumentMetadata
impl AskamaDocumentMetadata
pub fn load_from_json(_json: &str) -> ServerResult<Self>
Trait Implementations§
Source§impl Clone for AskamaDocumentMetadata
impl Clone for AskamaDocumentMetadata
Source§fn clone(&self) -> AskamaDocumentMetadata
fn clone(&self) -> AskamaDocumentMetadata
Returns a copy of the value. Read more
1.0.0 · 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 AskamaDocumentMetadata
impl Debug for AskamaDocumentMetadata
Source§impl<'de> Deserialize<'de> for AskamaDocumentMetadata
impl<'de> Deserialize<'de> for AskamaDocumentMetadata
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
Auto Trait Implementations§
impl Freeze for AskamaDocumentMetadata
impl RefUnwindSafe for AskamaDocumentMetadata
impl Send for AskamaDocumentMetadata
impl Sync for AskamaDocumentMetadata
impl Unpin for AskamaDocumentMetadata
impl UnwindSafe for AskamaDocumentMetadata
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