pub struct TenantMetadataSchemaVersionKey { /* private fields */ }Expand description
Tenant-scoped metadata key for schema-version.
Implementations§
Source§impl TenantMetadataSchemaVersionKey
impl TenantMetadataSchemaVersionKey
Sourcepub fn new() -> Result<Self, KeyLabelError>
pub fn new() -> Result<Self, KeyLabelError>
Builds the __meta/schema_version key encoder for a version prefix.
Trait Implementations§
Source§impl KeyEncoder for TenantMetadataSchemaVersionKey
impl KeyEncoder for TenantMetadataSchemaVersionKey
Source§fn encode_key(&self) -> Bytes
fn encode_key(&self) -> Bytes
Returns the encoded key.
Auto Trait Implementations§
impl Freeze for TenantMetadataSchemaVersionKey
impl RefUnwindSafe for TenantMetadataSchemaVersionKey
impl Send for TenantMetadataSchemaVersionKey
impl Sync for TenantMetadataSchemaVersionKey
impl Unpin for TenantMetadataSchemaVersionKey
impl UnsafeUnpin for TenantMetadataSchemaVersionKey
impl UnwindSafe for TenantMetadataSchemaVersionKey
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