pub struct SectionReference {
pub gid: String,
pub name: Option<String>,
pub resource_type: Option<String>,
}Expand description
Compact section reference used in task memberships and other contexts.
Fields§
§gid: StringGlobally unique identifier.
name: Option<String>Section display name.
resource_type: Option<String>Resource type marker.
Implementations§
Trait Implementations§
Source§impl Clone for SectionReference
impl Clone for SectionReference
Source§fn clone(&self) -> SectionReference
fn clone(&self) -> SectionReference
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 SectionReference
impl Debug for SectionReference
Source§impl<'de> Deserialize<'de> for SectionReference
impl<'de> Deserialize<'de> for SectionReference
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
impl Eq for SectionReference
Source§impl Ord for SectionReference
impl Ord for SectionReference
Source§fn cmp(&self, other: &SectionReference) -> Ordering
fn cmp(&self, other: &SectionReference) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SectionReference
impl PartialEq for SectionReference
Source§impl PartialOrd for SectionReference
impl PartialOrd for SectionReference
Source§impl Serialize for SectionReference
impl Serialize for SectionReference
impl StructuralPartialEq for SectionReference
Auto Trait Implementations§
impl Freeze for SectionReference
impl RefUnwindSafe for SectionReference
impl Send for SectionReference
impl Sync for SectionReference
impl Unpin for SectionReference
impl UnsafeUnpin for SectionReference
impl UnwindSafe for SectionReference
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