Struct trace4rs_config::config::AppenderId
source · pub struct AppenderId(pub String);
Expand description
An AppenderId
is an arbitrary string which in the context of a config must
be unique.
Tuple Fields§
§0: String
Trait Implementations§
source§impl Clone for AppenderId
impl Clone for AppenderId
source§fn clone(&self) -> AppenderId
fn clone(&self) -> AppenderId
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 AppenderId
impl Debug for AppenderId
source§impl From<&str> for AppenderId
impl From<&str> for AppenderId
source§impl Hash for AppenderId
impl Hash for AppenderId
source§impl Ord for AppenderId
impl Ord for AppenderId
source§fn cmp(&self, other: &AppenderId) -> Ordering
fn cmp(&self, other: &AppenderId) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<AppenderId> for AppenderId
impl PartialEq<AppenderId> for AppenderId
source§fn eq(&self, other: &AppenderId) -> bool
fn eq(&self, other: &AppenderId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<AppenderId> for AppenderId
impl PartialOrd<AppenderId> for AppenderId
source§fn partial_cmp(&self, other: &AppenderId) -> Option<Ordering>
fn partial_cmp(&self, other: &AppenderId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for AppenderId
impl StructuralEq for AppenderId
impl StructuralPartialEq for AppenderId
Auto Trait Implementations§
impl RefUnwindSafe for AppenderId
impl Send for AppenderId
impl Sync for AppenderId
impl Unpin for AppenderId
impl UnwindSafe for AppenderId
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