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 Parameterwhere
RawVecInner: Send,
impl Sync for Parameterwhere
RawVecInner: Sync,
impl Unpin for Parameter
impl UnsafeUnpin for Parameter
impl UnwindSafe for Parameterwhere
RawVecInner: UnwindSafe,
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