Struct hydrus_api::wrapper::service::ServiceName
source · pub struct ServiceName(pub String);Tuple Fields§
§0: StringImplementations§
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 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 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§fn eq(&self, other: &ServiceName) -> bool
fn eq(&self, other: &ServiceName) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for ServiceName
impl PartialOrd for ServiceName
source§fn partial_cmp(&self, other: &ServiceName) -> Option<Ordering>
fn partial_cmp(&self, other: &ServiceName) -> 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 ServiceName
impl StructuralPartialEq for ServiceName
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.