pub struct ProtocolEntry {
pub name: String,
pub version: u32,
pub roles: Vec<String>,
pub checksum: String,
pub source: String,
pub published_by: Option<String>,
}Fields§
§name: String§version: u32§roles: Vec<String>§checksum: String§source: String§published_by: Option<String>Trait Implementations§
Source§impl Clone for ProtocolEntry
impl Clone for ProtocolEntry
Source§fn clone(&self) -> ProtocolEntry
fn clone(&self) -> ProtocolEntry
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 ProtocolEntry
impl Debug for ProtocolEntry
Source§impl<'de> Deserialize<'de> for ProtocolEntry
impl<'de> Deserialize<'de> for ProtocolEntry
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
Auto Trait Implementations§
impl Freeze for ProtocolEntry
impl RefUnwindSafe for ProtocolEntry
impl Send for ProtocolEntry
impl Sync for ProtocolEntry
impl Unpin for ProtocolEntry
impl UnsafeUnpin for ProtocolEntry
impl UnwindSafe for ProtocolEntry
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