Struct mini_functions::errors::traits::Trait
source · pub struct Trait {
pub id: u64,
pub label: String,
}
Expand description
The Trait
struct with id as a unique identifier and label as a
string representation of the trait.
Fields§
§id: u64
The id
field holds the unique identifier of the trait.
label: String
The label
field holds the string representation of the trait.
Implementations§
Trait Implementations§
source§impl PartialEq for Trait
impl PartialEq for Trait
impl Eq for Trait
impl StructuralEq for Trait
impl StructuralPartialEq for Trait
Auto Trait Implementations§
impl RefUnwindSafe for Trait
impl Send for Trait
impl Sync for Trait
impl Unpin for Trait
impl UnwindSafe for Trait
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