pub struct ProviderIdentity {
pub name: String,
pub kind: ProviderKind,
pub title: Option<String>,
pub description: Option<String>,
pub homepage: Option<String>,
pub source: Option<String>,
pub version: Option<String>,
pub enabled: Option<bool>,
}Fields§
§name: String§kind: ProviderKind§title: Option<String>§description: Option<String>§homepage: Option<String>§source: Option<String>§version: Option<String>§enabled: Option<bool>Trait Implementations§
Source§impl Clone for ProviderIdentity
impl Clone for ProviderIdentity
Source§fn clone(&self) -> ProviderIdentity
fn clone(&self) -> ProviderIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProviderIdentity
impl Debug for ProviderIdentity
Source§impl<'de> Deserialize<'de> for ProviderIdentity
impl<'de> Deserialize<'de> for ProviderIdentity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProviderIdentity
impl PartialEq for ProviderIdentity
Source§fn eq(&self, other: &ProviderIdentity) -> bool
fn eq(&self, other: &ProviderIdentity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProviderIdentity
impl Serialize for ProviderIdentity
impl Eq for ProviderIdentity
impl StructuralPartialEq for ProviderIdentity
Auto Trait Implementations§
impl Freeze for ProviderIdentity
impl RefUnwindSafe for ProviderIdentity
impl Send for ProviderIdentity
impl Sync for ProviderIdentity
impl Unpin for ProviderIdentity
impl UnsafeUnpin for ProviderIdentity
impl UnwindSafe for ProviderIdentity
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,
§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.