Struct parsec_interface::operations::list_providers::ProviderInfo
source · [−]pub struct ProviderInfo {
pub uuid: Uuid,
pub description: String,
pub vendor: String,
pub version_maj: u32,
pub version_min: u32,
pub version_rev: u32,
pub id: ProviderId,
}
Expand description
Structure holding the basic information that defines the providers in the service for client discovery.
Fields
uuid: Uuid
Unique, permanent, identifier of the provider.
description: String
Short description of the provider.
vendor: String
Provider vendor.
version_maj: u32
Provider implementation version major.
version_min: u32
Provider implementation version minor.
version_rev: u32
Provider implementation version revision number.
id: ProviderId
Provider ID to use on the wire protocol to communicate with this provider.
Trait Implementations
sourceimpl Clone for ProviderInfo
impl Clone for ProviderInfo
sourcefn clone(&self) -> ProviderInfo
fn clone(&self) -> ProviderInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ProviderInfo
impl Debug for ProviderInfo
sourceimpl Hash for ProviderInfo
impl Hash for ProviderInfo
sourceimpl PartialEq<ProviderInfo> for ProviderInfo
impl PartialEq<ProviderInfo> for ProviderInfo
sourcefn eq(&self, other: &ProviderInfo) -> bool
fn eq(&self, other: &ProviderInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ProviderInfo) -> bool
fn ne(&self, other: &ProviderInfo) -> bool
This method tests for !=
.
impl Eq for ProviderInfo
impl StructuralEq for ProviderInfo
impl StructuralPartialEq for ProviderInfo
Auto Trait Implementations
impl RefUnwindSafe for ProviderInfo
impl Send for ProviderInfo
impl Sync for ProviderInfo
impl Unpin for ProviderInfo
impl UnwindSafe for ProviderInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more