#[non_exhaustive]pub struct Copyset {Show 15 fields
pub id: String,
pub storage_id: String,
pub name: String,
pub state: CopysetState,
pub member_a: Option<String>,
pub member_b: Option<String>,
pub drain_started_at: Option<String>,
pub synced_at: Option<String>,
pub retired_at: Option<String>,
pub pending_sync_jobs_a: Option<i32>,
pub pending_sync_jobs_b: Option<i32>,
pub pending_sync_jobs_observed_at: Option<String>,
pub volume_count: i64,
pub drain_initiated_by: Option<i64>,
pub tags: Vec<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: String§storage_id: String§name: String§state: CopysetState§member_a: Option<String>§member_b: Option<String>§drain_started_at: Option<String>§synced_at: Option<String>§retired_at: Option<String>§pending_sync_jobs_a: Option<i32>§pending_sync_jobs_b: Option<i32>§pending_sync_jobs_observed_at: Option<String>§volume_count: i64§drain_initiated_by: Option<i64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Copyset
impl<'de> Deserialize<'de> for Copyset
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
Auto Trait Implementations§
impl Freeze for Copyset
impl RefUnwindSafe for Copyset
impl Send for Copyset
impl Sync for Copyset
impl Unpin for Copyset
impl UnsafeUnpin for Copyset
impl UnwindSafe for Copyset
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