pub struct IdentityV3 {
pub name: String,
pub version: String,
}Expand description
Client or runtime identity carried explicitly by V3.
Fields§
§name: String§version: StringImplementations§
Source§impl IdentityV3
impl IdentityV3
Sourcepub fn validate(&self) -> Result<(), ProtocolV3Error>
pub fn validate(&self) -> Result<(), ProtocolV3Error>
Validate bounded identity fields.
Trait Implementations§
Source§impl Clone for IdentityV3
impl Clone for IdentityV3
Source§fn clone(&self) -> IdentityV3
fn clone(&self) -> IdentityV3
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 IdentityV3
impl Debug for IdentityV3
Source§impl<'de> Deserialize<'de> for IdentityV3
impl<'de> Deserialize<'de> for IdentityV3
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
impl Eq for IdentityV3
Source§impl PartialEq for IdentityV3
impl PartialEq for IdentityV3
Source§impl Serialize for IdentityV3
impl Serialize for IdentityV3
impl StructuralPartialEq for IdentityV3
Auto Trait Implementations§
impl Freeze for IdentityV3
impl RefUnwindSafe for IdentityV3
impl Send for IdentityV3
impl Sync for IdentityV3
impl Unpin for IdentityV3
impl UnsafeUnpin for IdentityV3
impl UnwindSafe for IdentityV3
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