pub struct CreateReferenceAttributes {
pub title: String,
pub url: String,
pub description: Option<String>,
pub author: Option<String>,
pub source: Option<String>,
pub tags: Option<Vec<String>>,
}Expand description
Attributes for creating a reference
Fields§
§title: String§url: String§description: Option<String>§source: Option<String>Trait Implementations§
Source§impl Clone for CreateReferenceAttributes
impl Clone for CreateReferenceAttributes
Source§fn clone(&self) -> CreateReferenceAttributes
fn clone(&self) -> CreateReferenceAttributes
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 CreateReferenceAttributes
impl Debug for CreateReferenceAttributes
Source§impl<'de> Deserialize<'de> for CreateReferenceAttributes
impl<'de> Deserialize<'de> for CreateReferenceAttributes
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 CreateReferenceAttributes
impl RefUnwindSafe for CreateReferenceAttributes
impl Send for CreateReferenceAttributes
impl Sync for CreateReferenceAttributes
impl Unpin for CreateReferenceAttributes
impl UnsafeUnpin for CreateReferenceAttributes
impl UnwindSafe for CreateReferenceAttributes
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