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<'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