Struct gptman::PartitionName
source · pub struct PartitionName(/* private fields */);
Expand description
A wrapper type for String
that represents a partition’s name.
Implementations§
Trait Implementations§
source§impl Clone for PartitionName
impl Clone for PartitionName
source§fn clone(&self) -> PartitionName
fn clone(&self) -> PartitionName
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 Debug for PartitionName
impl Debug for PartitionName
source§impl<'de> Deserialize<'de> for PartitionName
impl<'de> Deserialize<'de> for PartitionName
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 Display for PartitionName
impl Display for PartitionName
source§impl From<&str> for PartitionName
impl From<&str> for PartitionName
source§fn from(value: &str) -> PartitionName
fn from(value: &str) -> PartitionName
Converts to this type from the input type.
source§impl PartialEq for PartitionName
impl PartialEq for PartitionName
source§fn eq(&self, other: &PartitionName) -> bool
fn eq(&self, other: &PartitionName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PartitionName
impl Serialize for PartitionName
impl Eq for PartitionName
impl StructuralPartialEq for PartitionName
Auto Trait Implementations§
impl RefUnwindSafe for PartitionName
impl Send for PartitionName
impl Sync for PartitionName
impl Unpin for PartitionName
impl UnwindSafe for PartitionName
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