pub struct SectionObject {
pub id: String,
pub label: Option<String>,
}Expand description
This is a Section Object
Fields§
§id: StringThe UUID of the section.
label: Option<String>Some optional text
Implementations§
Trait Implementations§
Source§impl Clone for SectionObject
impl Clone for SectionObject
Source§fn clone(&self) -> SectionObject
fn clone(&self) -> SectionObject
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 SectionObject
impl Debug for SectionObject
Source§impl<'de> Deserialize<'de> for SectionObject
impl<'de> Deserialize<'de> for SectionObject
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 SectionObject
impl RefUnwindSafe for SectionObject
impl Send for SectionObject
impl Sync for SectionObject
impl Unpin for SectionObject
impl UnsafeUnpin for SectionObject
impl UnwindSafe for SectionObject
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