pub struct WritableDeviceRedundancyGroupRequest {
pub id: Option<Uuid>,
pub name: String,
pub description: Option<String>,
pub failover_strategy: Option<Box<PatchedWritableDeviceRedundancyGroupRequestFailoverStrategy>>,
pub comments: Option<String>,
pub status: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>,
pub secrets_group: Option<Option<Box<ApprovalWorkflowUser>>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>,
pub tags: Option<Vec<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
}Expand description
WritableDeviceRedundancyGroupRequest : Base class to use for serializers based on OrganizationalModel or PrimaryModel. Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
Fields§
§id: Option<Uuid>§name: String§description: Option<String>§failover_strategy: Option<Box<PatchedWritableDeviceRedundancyGroupRequestFailoverStrategy>>§comments: Option<String>§status: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>§secrets_group: Option<Option<Box<ApprovalWorkflowUser>>>§custom_fields: Option<HashMap<String, Value>>§relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>Implementations§
Source§impl WritableDeviceRedundancyGroupRequest
impl WritableDeviceRedundancyGroupRequest
Sourcepub fn new(
name: String,
status: ApprovalWorkflowStageResponseApprovalWorkflowStage,
) -> WritableDeviceRedundancyGroupRequest
pub fn new( name: String, status: ApprovalWorkflowStageResponseApprovalWorkflowStage, ) -> WritableDeviceRedundancyGroupRequest
Base class to use for serializers based on OrganizationalModel or PrimaryModel. Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
Trait Implementations§
Source§impl Clone for WritableDeviceRedundancyGroupRequest
impl Clone for WritableDeviceRedundancyGroupRequest
Source§fn clone(&self) -> WritableDeviceRedundancyGroupRequest
fn clone(&self) -> WritableDeviceRedundancyGroupRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for WritableDeviceRedundancyGroupRequest
impl Default for WritableDeviceRedundancyGroupRequest
Source§fn default() -> WritableDeviceRedundancyGroupRequest
fn default() -> WritableDeviceRedundancyGroupRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WritableDeviceRedundancyGroupRequest
impl<'de> Deserialize<'de> for WritableDeviceRedundancyGroupRequest
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 WritableDeviceRedundancyGroupRequest
impl PartialEq for WritableDeviceRedundancyGroupRequest
Source§fn eq(&self, other: &WritableDeviceRedundancyGroupRequest) -> bool
fn eq(&self, other: &WritableDeviceRedundancyGroupRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WritableDeviceRedundancyGroupRequest
Auto Trait Implementations§
impl Freeze for WritableDeviceRedundancyGroupRequest
impl RefUnwindSafe for WritableDeviceRedundancyGroupRequest
impl Send for WritableDeviceRedundancyGroupRequest
impl Sync for WritableDeviceRedundancyGroupRequest
impl Unpin for WritableDeviceRedundancyGroupRequest
impl UnsafeUnpin for WritableDeviceRedundancyGroupRequest
impl UnwindSafe for WritableDeviceRedundancyGroupRequest
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