pub struct ServiceName(pub String);
Tuple Fields§
§0: String
Implementations§
Source§impl ServiceName
impl ServiceName
pub fn my_files() -> Self
pub fn public_tag_repository() -> Self
pub fn all_local_files() -> Self
pub fn all_known_files() -> Self
Trait Implementations§
Source§impl Clone for ServiceName
impl Clone for ServiceName
Source§fn clone(&self) -> ServiceName
fn clone(&self) -> ServiceName
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 Display for ServiceName
impl Display for ServiceName
Source§impl From<ServiceName> for FileServiceSelection
impl From<ServiceName> for FileServiceSelection
Source§fn from(name: ServiceName) -> Self
fn from(name: ServiceName) -> Self
Converts to this type from the input type.
Source§impl Hash for ServiceName
impl Hash for ServiceName
Source§impl Into<ServiceIdentifier> for ServiceName
impl Into<ServiceIdentifier> for ServiceName
Source§fn into(self) -> ServiceIdentifier
fn into(self) -> ServiceIdentifier
Converts this type into the (usually inferred) input type.
Source§impl PartialEq for ServiceName
impl PartialEq for ServiceName
Source§impl PartialOrd for ServiceName
impl PartialOrd for ServiceName
impl Eq for ServiceName
impl StructuralPartialEq for ServiceName
Auto Trait Implementations§
impl Freeze for ServiceName
impl RefUnwindSafe for ServiceName
impl Send for ServiceName
impl Sync for ServiceName
impl Unpin for ServiceName
impl UnwindSafe for ServiceName
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.