pub struct SnapshotRef { /* private fields */ }Expand description
An ID of a Snapshot
Trait Implementations§
Source§impl AsRef<str> for SnapshotRef
impl AsRef<str> for SnapshotRef
Source§impl Clone for SnapshotRef
impl Clone for SnapshotRef
Source§fn clone(&self) -> SnapshotRef
fn clone(&self) -> SnapshotRef
Returns a duplicate 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 SnapshotRef
impl Debug for SnapshotRef
Source§impl<'de> Deserialize<'de> for SnapshotRef
impl<'de> Deserialize<'de> for SnapshotRef
Source§fn deserialize<D>(deserializer: D) -> Result<SnapshotRef, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<SnapshotRef, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SnapshotRef
impl Display for SnapshotRef
Source§impl<'s> From<&'s str> for SnapshotRef
impl<'s> From<&'s str> for SnapshotRef
Source§fn from(value: &'s str) -> SnapshotRef
fn from(value: &'s str) -> SnapshotRef
Converts to this type from the input type.
Source§impl From<SnapshotRef> for String
impl From<SnapshotRef> for String
Source§fn from(value: SnapshotRef) -> String
fn from(value: SnapshotRef) -> String
Converts to this type from the input type.
Source§impl From<SnapshotRef> for Value
impl From<SnapshotRef> for Value
Source§fn from(value: SnapshotRef) -> Value
fn from(value: SnapshotRef) -> Value
Converts to this type from the input type.
Source§impl From<String> for SnapshotRef
impl From<String> for SnapshotRef
Source§fn from(value: String) -> SnapshotRef
fn from(value: String) -> SnapshotRef
Converts to this type from the input type.
Source§impl PartialEq for SnapshotRef
impl PartialEq for SnapshotRef
Source§impl Serialize for SnapshotRef
impl Serialize for SnapshotRef
impl Eq for SnapshotRef
impl StructuralPartialEq for SnapshotRef
Auto Trait Implementations§
impl Freeze for SnapshotRef
impl RefUnwindSafe for SnapshotRef
impl Send for SnapshotRef
impl Sync for SnapshotRef
impl Unpin for SnapshotRef
impl UnwindSafe for SnapshotRef
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.