pub struct BucketReplicationResyncStatus {
pub version: u16,
pub targets_map: HashMap<String, TargetReplicationResyncStatus>,
pub id: i32,
pub last_update: Option<OffsetDateTime>,
}Fields§
§version: u16§targets_map: HashMap<String, TargetReplicationResyncStatus>§id: i32§last_update: Option<OffsetDateTime>Implementations§
Source§impl BucketReplicationResyncStatus
impl BucketReplicationResyncStatus
pub fn new() -> Self
pub fn clone_tgt_stats(&self) -> HashMap<String, TargetReplicationResyncStatus>
pub fn marshal_msg(&self) -> Result<Vec<u8>>
pub fn unmarshal_msg(data: &[u8]) -> Result<Self>
pub fn unmarshal_legacy_msg(data: &[u8]) -> Result<Self>
Trait Implementations§
Source§impl Clone for BucketReplicationResyncStatus
impl Clone for BucketReplicationResyncStatus
Source§fn clone(&self) -> BucketReplicationResyncStatus
fn clone(&self) -> BucketReplicationResyncStatus
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 Default for BucketReplicationResyncStatus
impl Default for BucketReplicationResyncStatus
Source§fn default() -> BucketReplicationResyncStatus
fn default() -> BucketReplicationResyncStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BucketReplicationResyncStatus
impl<'de> Deserialize<'de> for BucketReplicationResyncStatus
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 BucketReplicationResyncStatus
impl RefUnwindSafe for BucketReplicationResyncStatus
impl Send for BucketReplicationResyncStatus
impl Sync for BucketReplicationResyncStatus
impl Unpin for BucketReplicationResyncStatus
impl UnsafeUnpin for BucketReplicationResyncStatus
impl UnwindSafe for BucketReplicationResyncStatus
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