pub struct Parameter {
pub id: ParameterId,
pub value: Vec<u8>,
}Expand description
One parameter: an id and its value.
Fields§
§id: ParameterIdThe parameter id.
value: Vec<u8>The value octets, including any trailing padding the sender put in the length.
Implementations§
Trait Implementations§
impl Eq for Parameter
impl StructuralPartialEq for Parameter
Auto Trait Implementations§
impl Forget for Parameter
impl Freeze for Parameter
impl Move for Parameter
impl RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnsafeUnpin for Parameter
impl UnwindSafe for Parameter
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