pub struct ClientName {
pub user: String,
pub application: String,
pub component: String,
}
Expand description
Client name
Fields§
§user: String
§application: String
§component: String
Implementations§
Source§impl ClientName
impl ClientName
pub fn new(user: &str, application: &str) -> ClientName
pub fn with_component( user: &str, application: &str, component: &str, ) -> ClientName
Trait Implementations§
Source§impl Clone for ClientName
impl Clone for ClientName
Source§fn clone(&self) -> ClientName
fn clone(&self) -> ClientName
Returns a duplicate 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 ClientName
impl Debug for ClientName
Source§impl Hash for ClientName
impl Hash for ClientName
Source§impl PartialEq for ClientName
impl PartialEq for ClientName
impl Eq for ClientName
impl StructuralPartialEq for ClientName
Auto Trait Implementations§
impl Freeze for ClientName
impl RefUnwindSafe for ClientName
impl Send for ClientName
impl Sync for ClientName
impl Unpin for ClientName
impl UnwindSafe for ClientName
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