pub struct ClusterGroup {Show 14 fields
pub id: Option<i32>,
pub url: Option<String>,
pub display_url: Option<String>,
pub display: Option<String>,
pub name: String,
pub slug: String,
pub description: Option<String>,
pub owner: Option<Option<Box<BriefOwner>>>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTag>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub created: Option<Option<String>>,
pub last_updated: Option<Option<String>>,
pub cluster_count: Option<i64>,
}Expand description
ClusterGroup : Base serializer class for models inheriting from OrganizationalModel.
Fields§
§id: Option<i32>§url: Option<String>§display_url: Option<String>§display: Option<String>§name: String§slug: String§description: Option<String>§owner: Option<Option<Box<BriefOwner>>>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>§created: Option<Option<String>>§last_updated: Option<Option<String>>§cluster_count: Option<i64>Implementations§
Source§impl ClusterGroup
impl ClusterGroup
Sourcepub fn new(name: String, slug: String) -> ClusterGroup
pub fn new(name: String, slug: String) -> ClusterGroup
Base serializer class for models inheriting from OrganizationalModel.
Trait Implementations§
Source§impl Clone for ClusterGroup
impl Clone for ClusterGroup
Source§fn clone(&self) -> ClusterGroup
fn clone(&self) -> ClusterGroup
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 ClusterGroup
impl Debug for ClusterGroup
Source§impl Default for ClusterGroup
impl Default for ClusterGroup
Source§fn default() -> ClusterGroup
fn default() -> ClusterGroup
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterGroup
impl<'de> Deserialize<'de> for ClusterGroup
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
Source§impl PartialEq for ClusterGroup
impl PartialEq for ClusterGroup
Source§fn eq(&self, other: &ClusterGroup) -> bool
fn eq(&self, other: &ClusterGroup) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ClusterGroup
impl Serialize for ClusterGroup
impl StructuralPartialEq for ClusterGroup
Auto Trait Implementations§
impl Freeze for ClusterGroup
impl RefUnwindSafe for ClusterGroup
impl Send for ClusterGroup
impl Sync for ClusterGroup
impl Unpin for ClusterGroup
impl UnsafeUnpin for ClusterGroup
impl UnwindSafe for ClusterGroup
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