pub struct SectionProjectReference {
pub gid: String,
pub name: Option<String>,
pub resource_type: Option<String>,
}Expand description
Compact project reference used within section payloads.
Fields§
§gid: StringGlobally unique identifier.
name: Option<String>Project name.
resource_type: Option<String>Resource type marker.
Implementations§
Trait Implementations§
Source§impl Clone for SectionProjectReference
impl Clone for SectionProjectReference
Source§fn clone(&self) -> SectionProjectReference
fn clone(&self) -> SectionProjectReference
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 SectionProjectReference
impl Debug for SectionProjectReference
Source§impl<'de> Deserialize<'de> for SectionProjectReference
impl<'de> Deserialize<'de> for SectionProjectReference
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 SectionProjectReference
Source§impl Ord for SectionProjectReference
impl Ord for SectionProjectReference
Source§fn cmp(&self, other: &SectionProjectReference) -> Ordering
fn cmp(&self, other: &SectionProjectReference) -> 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 SectionProjectReference
impl PartialEq for SectionProjectReference
Source§impl PartialOrd for SectionProjectReference
impl PartialOrd for SectionProjectReference
Source§impl Serialize for SectionProjectReference
impl Serialize for SectionProjectReference
impl StructuralPartialEq for SectionProjectReference
Auto Trait Implementations§
impl Freeze for SectionProjectReference
impl RefUnwindSafe for SectionProjectReference
impl Send for SectionProjectReference
impl Sync for SectionProjectReference
impl Unpin for SectionProjectReference
impl UnsafeUnpin for SectionProjectReference
impl UnwindSafe for SectionProjectReference
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