pub struct ReplicationTime {
pub status: ReplicationTimeStatus,
pub time: ReplicationTimeValue,
}Expand description
A container specifying S3 Replication Time Control (S3 RTC) related information, including whether S3 RTC is
enabled and the time when all objects and operations on objects must be replicated. Must be
specified together with a Metrics block.
Fields§
§status: ReplicationTimeStatusSpecifies whether the replication time is enabled.
time: ReplicationTimeValueA container specifying the time by which replication should be complete for all objects and operations on objects.
Trait Implementations§
Source§impl Clone for ReplicationTime
impl Clone for ReplicationTime
Source§fn clone(&self) -> ReplicationTime
fn clone(&self) -> ReplicationTime
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 Debug for ReplicationTime
impl Debug for ReplicationTime
Source§impl<'de> Deserialize<'de> for ReplicationTime
impl<'de> Deserialize<'de> for ReplicationTime
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<'xml> DeserializeContent<'xml> for ReplicationTime
Available on crate feature minio only.
impl<'xml> DeserializeContent<'xml> for ReplicationTime
Available on crate feature
minio only.Source§fn deserialize_content(d: &mut Deserializer<'xml>) -> DeResult<Self>
fn deserialize_content(d: &mut Deserializer<'xml>) -> DeResult<Self>
Deserializes the content of the data type Read more
Source§impl DtoExt for ReplicationTime
impl DtoExt for ReplicationTime
Source§fn ignore_empty_strings(&mut self)
fn ignore_empty_strings(&mut self)
Modifies all empty string fields from
Some("") to NoneSource§impl PartialEq for ReplicationTime
impl PartialEq for ReplicationTime
Source§fn eq(&self, other: &ReplicationTime) -> bool
fn eq(&self, other: &ReplicationTime) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReplicationTime
impl Serialize for ReplicationTime
Source§impl SerializeContent for ReplicationTime
Available on crate feature minio only.
impl SerializeContent for ReplicationTime
Available on crate feature
minio only.Source§fn serialize_content<W: Write>(&self, s: &mut Serializer<W>) -> SerResult
fn serialize_content<W: Write>(&self, s: &mut Serializer<W>) -> SerResult
Serializes the content of the data type Read more
impl StructuralPartialEq for ReplicationTime
Auto Trait Implementations§
impl Freeze for ReplicationTime
impl RefUnwindSafe for ReplicationTime
impl Send for ReplicationTime
impl Sync for ReplicationTime
impl Unpin for ReplicationTime
impl UnsafeUnpin for ReplicationTime
impl UnwindSafe for ReplicationTime
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