Struct asana::models::section_compact::SectionCompact
source · [−]pub struct SectionCompact {
pub gid: Option<String>,
pub resource_type: Option<String>,
pub name: Option<String>,
}
Fields
gid: Option<String>
Globally unique identifier of the resource, as a string.
resource_type: Option<String>
The base type of this resource.
name: Option<String>
The name of the section (i.e. the text displayed as the section header).
Implementations
sourceimpl SectionCompact
impl SectionCompact
pub fn new() -> SectionCompact
Trait Implementations
sourceimpl Clone for SectionCompact
impl Clone for SectionCompact
sourcefn clone(&self) -> SectionCompact
fn clone(&self) -> SectionCompact
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SectionCompact
impl Debug for SectionCompact
sourceimpl<'de> Deserialize<'de> for SectionCompact
impl<'de> Deserialize<'de> for SectionCompact
sourcefn 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
sourceimpl PartialEq<SectionCompact> for SectionCompact
impl PartialEq<SectionCompact> for SectionCompact
sourcefn eq(&self, other: &SectionCompact) -> bool
fn eq(&self, other: &SectionCompact) -> bool
sourceimpl Serialize for SectionCompact
impl Serialize for SectionCompact
impl StructuralPartialEq for SectionCompact
Auto Trait Implementations
impl RefUnwindSafe for SectionCompact
impl Send for SectionCompact
impl Sync for SectionCompact
impl Unpin for SectionCompact
impl UnwindSafe for SectionCompact
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more