pub struct Lock {
pub key: String,
}Fields§
§key: StringTrait Implementations§
Source§impl AzaleaRead for Lock
impl AzaleaRead for Lock
fn azalea_read(buf: &mut Cursor<&[u8]>) -> Result<Self, BufReadError>
Source§impl AzaleaWrite for Lock
impl AzaleaWrite for Lock
Source§impl DataComponentTrait for Lock
impl DataComponentTrait for Lock
const KIND: DataComponentKind = DataComponentKind::Lock
Source§impl From<Lock> for DataComponentUnion
impl From<Lock> for DataComponentUnion
impl StructuralPartialEq for Lock
Auto Trait Implementations§
impl Freeze for Lock
impl RefUnwindSafe for Lock
impl Send for Lock
impl Sync for Lock
impl Unpin for Lock
impl UnwindSafe for Lock
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