pub struct PatchedWritableClusterRequest {
pub name: Option<String>,
pub type: Option<Box<ClusterRequestType>>,
pub group: Option<Option<Box<ClusterRequestGroup>>>,
pub status: Option<Status>,
pub tenant: Option<Option<Box<AsnRangeRequestTenant>>>,
pub scope_type: Option<Option<String>>,
pub scope_id: Option<Option<i32>>,
pub description: Option<String>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Expand description
PatchedWritableClusterRequest : Adds support for custom fields and tags.
Fields§
§name: Option<String>§type: Option<Box<ClusterRequestType>>§group: Option<Option<Box<ClusterRequestGroup>>>§status: Option<Status>planned- Planned *staging- Staging *active- Active *decommissioning- Decommissioning *offline- Offline
tenant: Option<Option<Box<AsnRangeRequestTenant>>>§scope_type: Option<Option<String>>§scope_id: Option<Option<i32>>§description: Option<String>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl PatchedWritableClusterRequest
impl PatchedWritableClusterRequest
Sourcepub fn new() -> PatchedWritableClusterRequest
pub fn new() -> PatchedWritableClusterRequest
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for PatchedWritableClusterRequest
impl Clone for PatchedWritableClusterRequest
Source§fn clone(&self) -> PatchedWritableClusterRequest
fn clone(&self) -> PatchedWritableClusterRequest
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 PatchedWritableClusterRequest
impl Default for PatchedWritableClusterRequest
Source§fn default() -> PatchedWritableClusterRequest
fn default() -> PatchedWritableClusterRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedWritableClusterRequest
impl<'de> Deserialize<'de> for PatchedWritableClusterRequest
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 PatchedWritableClusterRequest
impl PartialEq for PatchedWritableClusterRequest
Source§fn eq(&self, other: &PatchedWritableClusterRequest) -> bool
fn eq(&self, other: &PatchedWritableClusterRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PatchedWritableClusterRequest
Auto Trait Implementations§
impl Freeze for PatchedWritableClusterRequest
impl RefUnwindSafe for PatchedWritableClusterRequest
impl Send for PatchedWritableClusterRequest
impl Sync for PatchedWritableClusterRequest
impl Unpin for PatchedWritableClusterRequest
impl UnwindSafe for PatchedWritableClusterRequest
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