pub struct Name<'l> { /* private fields */ }
Implementations
sourceimpl<'l> Name<'l>
impl<'l> Name<'l>
pub fn with_country(self, country: &[u8; 2]) -> Self
pub fn with_organization(self, organization: &'l str) -> Self
pub fn with_state(self, state: &'l str) -> Self
Trait Implementations
sourceimpl Encodable for Name<'_>
impl Encodable for Name<'_>
impl<'l> Copy for Name<'l>
impl<'l> Eq for Name<'l>
impl<'l> StructuralEq for Name<'l>
impl<'l> StructuralPartialEq for Name<'l>
Auto Trait Implementations
impl<'l> RefUnwindSafe for Name<'l>
impl<'l> Send for Name<'l>
impl<'l> Sync for Name<'l>
impl<'l> Unpin for Name<'l>
impl<'l> UnwindSafe for Name<'l>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more