pub struct BucketId { /* private fields */ }
Implementations§
Source§impl BucketId
Bucket Identifier
impl BucketId
Bucket Identifier
Sourcepub fn permissions(&self) -> BucketPermissions
pub fn permissions(&self) -> BucketPermissions
Get the permissions of the bucket
Sourcepub fn set_lifetime(&mut self, lifetime: u8)
pub fn set_lifetime(&mut self, lifetime: u8)
Set the lifetime of the bucket
Sourcepub fn set_permissions(&mut self, permissions: BucketPermissions)
pub fn set_permissions(&mut self, permissions: BucketPermissions)
Set the permissions of the bucket
Trait Implementations§
Source§impl Serializable for BucketId
impl Serializable for BucketId
Source§fn from_bytes(
data: &[u8],
_: Option<SerializationInfo>,
) -> Result<Self, SerializationError>where
Self: Sized,
fn from_bytes(
data: &[u8],
_: Option<SerializationInfo>,
) -> Result<Self, SerializationError>where
Self: Sized,
Deserializes the data from a vector of bytes. Read more
impl Eq for BucketId
impl StructuralPartialEq for BucketId
Auto Trait Implementations§
impl Freeze for BucketId
impl RefUnwindSafe for BucketId
impl Send for BucketId
impl Sync for BucketId
impl Unpin for BucketId
impl UnwindSafe for BucketId
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more