pub struct GeoReplication {
pub status: Status,
pub last_sync_time: OffsetDateTime,
}
Expand description
Geo-Replication information for the Secondary Storage Service
Fields§
§status: Status
The status of the secondary location
last_sync_time: OffsetDateTime
A GMT date/time value, to the second. All primary writes preceding this value are guaranteed to be available for read operations at the secondary. Primary writes after this point in time may or may not be available for reads.
Implementations§
source§impl GeoReplication
impl GeoReplication
pub fn new(status: Status, last_sync_time: OffsetDateTime) -> Self
Trait Implementations§
source§impl Clone for GeoReplication
impl Clone for GeoReplication
source§fn clone(&self) -> GeoReplication
fn clone(&self) -> GeoReplication
Returns a copy 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 Debug for GeoReplication
impl Debug for GeoReplication
source§impl<'de> Deserialize<'de> for GeoReplication
impl<'de> Deserialize<'de> for GeoReplication
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 GeoReplication
impl PartialEq for GeoReplication
source§impl Serialize for GeoReplication
impl Serialize for GeoReplication
impl StructuralPartialEq for GeoReplication
Auto Trait Implementations§
impl Freeze for GeoReplication
impl RefUnwindSafe for GeoReplication
impl Send for GeoReplication
impl Sync for GeoReplication
impl Unpin for GeoReplication
impl UnwindSafe for GeoReplication
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)