pub struct CrateIdentity {
pub name: &'static str,
pub responsibility: &'static str,
}Expand description
Minimal crate identity metadata used while the rest of the model is defined.
Fields§
§name: &'static str§responsibility: &'static strTrait Implementations§
Source§impl Clone for CrateIdentity
impl Clone for CrateIdentity
Source§fn clone(&self) -> CrateIdentity
fn clone(&self) -> CrateIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CrateIdentity
impl Debug for CrateIdentity
Source§impl PartialEq for CrateIdentity
impl PartialEq for CrateIdentity
Source§fn eq(&self, other: &CrateIdentity) -> bool
fn eq(&self, other: &CrateIdentity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CrateIdentity
impl StructuralPartialEq for CrateIdentity
Auto Trait Implementations§
impl Freeze for CrateIdentity
impl RefUnwindSafe for CrateIdentity
impl Send for CrateIdentity
impl Sync for CrateIdentity
impl Unpin for CrateIdentity
impl UnsafeUnpin for CrateIdentity
impl UnwindSafe for CrateIdentity
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