pub struct CodecShape {
pub type_name: String,
pub fields: Vec<CodecField>,
}Expand description
Named codec view for variables or payload data.
Fields§
§type_name: StringLogical shape name.
fields: Vec<CodecField>Fields visible inside the shape.
Trait Implementations§
Source§impl Clone for CodecShape
impl Clone for CodecShape
Source§fn clone(&self) -> CodecShape
fn clone(&self) -> CodecShape
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 CodecShape
impl Debug for CodecShape
Source§impl<'de> Deserialize<'de> for CodecShape
impl<'de> Deserialize<'de> for CodecShape
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 CodecShape
impl PartialEq for CodecShape
Source§fn eq(&self, other: &CodecShape) -> bool
fn eq(&self, other: &CodecShape) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CodecShape
impl Serialize for CodecShape
impl StructuralPartialEq for CodecShape
Auto Trait Implementations§
impl Freeze for CodecShape
impl RefUnwindSafe for CodecShape
impl Send for CodecShape
impl Sync for CodecShape
impl Unpin for CodecShape
impl UnsafeUnpin for CodecShape
impl UnwindSafe for CodecShape
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