Struct garage_model::bucket_alias_table::BucketAlias
source · pub struct BucketAlias {
pub state: Lww<Option<Uuid>>,
/* private fields */
}
Expand description
The bucket alias table holds the names given to buckets in the global namespace.
Fields§
§state: Lww<Option<Uuid>>
Implementations§
Trait Implementations§
source§impl Clone for BucketAlias
impl Clone for BucketAlias
source§fn clone(&self) -> BucketAlias
fn clone(&self) -> BucketAlias
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 Crdt for BucketAlias
impl Crdt for BucketAlias
source§impl Debug for BucketAlias
impl Debug for BucketAlias
source§impl<'de> Deserialize<'de> for BucketAlias
impl<'de> Deserialize<'de> for BucketAlias
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 InitialFormat for BucketAlias
impl InitialFormat for BucketAlias
source§const VERSION_MARKER: &'static [u8] = b""
const VERSION_MARKER: &'static [u8] = b""
A sequence of bytes to add at the beginning of the serialized
string, to identify that the data is of this version.
source§impl PartialEq for BucketAlias
impl PartialEq for BucketAlias
source§fn eq(&self, other: &BucketAlias) -> bool
fn eq(&self, other: &BucketAlias) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BucketAlias
impl Serialize for BucketAlias
impl Eq for BucketAlias
impl StructuralPartialEq for BucketAlias
Auto Trait Implementations§
impl Freeze for BucketAlias
impl RefUnwindSafe for BucketAlias
impl Send for BucketAlias
impl Sync for BucketAlias
impl Unpin for BucketAlias
impl UnwindSafe for BucketAlias
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<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> Migrate for Twhere
T: InitialFormat,
impl<T> Migrate for Twhere
T: InitialFormat,
source§const VERSION_MARKER: &'static [u8] = <T as InitialFormat>::VERSION_MARKER
const VERSION_MARKER: &'static [u8] = <T as InitialFormat>::VERSION_MARKER
A sequence of bytes to add at the beginning of the serialized
string, to identify that the data is of this version.
§type Previous = NoPrevious
type Previous = NoPrevious
The previous version of this data type, from which items of this version
can be migrated.
source§fn migrate(_previous: <T as Migrate>::Previous) -> T
fn migrate(_previous: <T as Migrate>::Previous) -> T
The migration function that transforms a value decoded in the old format
to an up-to-date value.