pub struct ProtocolMapper {
pub id: String,
pub name: String,
pub native: Value,
}Expand description
A protocol mapper.
Fields§
§id: StringStable internal identifier — the sort key for deterministic output.
name: StringThe mapper’s name — its identity key.
native: ValueBackend-faithful representation.
Trait Implementations§
Source§impl Clone for ProtocolMapper
impl Clone for ProtocolMapper
Source§impl Debug for ProtocolMapper
impl Debug for ProtocolMapper
Source§impl Default for ProtocolMapper
impl Default for ProtocolMapper
Source§impl<'de> Deserialize<'de> for ProtocolMapper
impl<'de> Deserialize<'de> for ProtocolMapper
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 ProtocolMapper
impl PartialEq for ProtocolMapper
Source§impl Serialize for ProtocolMapper
impl Serialize for ProtocolMapper
impl StructuralPartialEq for ProtocolMapper
Auto Trait Implementations§
impl Freeze for ProtocolMapper
impl RefUnwindSafe for ProtocolMapper
impl Send for ProtocolMapper
impl Sync for ProtocolMapper
impl Unpin for ProtocolMapper
impl UnsafeUnpin for ProtocolMapper
impl UnwindSafe for ProtocolMapper
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