pub struct ExactObjectRef { /* private fields */ }Expand description
One exact stored object in one namespace.
Implementations§
Source§impl ExactObjectRef
impl ExactObjectRef
Sourcepub fn try_new(
namespace: String,
key: String,
backend_generation: u64,
) -> Result<Self, ModelError>
pub fn try_new( namespace: String, key: String, backend_generation: u64, ) -> Result<Self, ModelError>
Names one exact stored generation.
§Errors
Returns ModelError::Bounds for an empty namespace or key.
Sourcepub const fn backend_generation(&self) -> u64
pub const fn backend_generation(&self) -> u64
Returns the backend generation.
Trait Implementations§
Source§impl Clone for ExactObjectRef
impl Clone for ExactObjectRef
Source§fn clone(&self) -> ExactObjectRef
fn clone(&self) -> ExactObjectRef
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 ExactObjectRef
impl Debug for ExactObjectRef
impl Eq for ExactObjectRef
Source§impl PartialEq for ExactObjectRef
impl PartialEq for ExactObjectRef
impl StructuralPartialEq for ExactObjectRef
Auto Trait Implementations§
impl Freeze for ExactObjectRef
impl RefUnwindSafe for ExactObjectRef
impl Send for ExactObjectRef
impl Sync for ExactObjectRef
impl Unpin for ExactObjectRef
impl UnsafeUnpin for ExactObjectRef
impl UnwindSafe for ExactObjectRef
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