pub struct InterfaceEntry {
pub name: String,
pub version: u8,
}Expand description
A single advertised interface: its wire name and the version byte the plugin speaks.
Fields§
§name: String§version: u8Trait Implementations§
Source§impl Clone for InterfaceEntry
impl Clone for InterfaceEntry
Source§fn clone(&self) -> InterfaceEntry
fn clone(&self) -> InterfaceEntry
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 InterfaceEntry
impl Debug for InterfaceEntry
impl Eq for InterfaceEntry
Source§impl PartialEq for InterfaceEntry
impl PartialEq for InterfaceEntry
Source§fn eq(&self, other: &InterfaceEntry) -> bool
fn eq(&self, other: &InterfaceEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InterfaceEntry
Auto Trait Implementations§
impl Freeze for InterfaceEntry
impl RefUnwindSafe for InterfaceEntry
impl Send for InterfaceEntry
impl Sync for InterfaceEntry
impl Unpin for InterfaceEntry
impl UnsafeUnpin for InterfaceEntry
impl UnwindSafe for InterfaceEntry
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