pub struct DriveId(/* private fields */);Expand description
Validated drive_id. Regex ^[A-Za-z0-9_]{1,64}$.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DriveId
impl<'de> Deserialize<'de> for DriveId
Source§fn deserialize<D: Deserializer<'de>>(de: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(de: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DriveId
impl StructuralPartialEq for DriveId
Auto Trait Implementations§
impl Freeze for DriveId
impl RefUnwindSafe for DriveId
impl Send for DriveId
impl Sync for DriveId
impl Unpin for DriveId
impl UnsafeUnpin for DriveId
impl UnwindSafe for DriveId
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