pub enum AdaptationFieldControl {
PayloadOnly,
AdaptationFieldOnly,
AdaptationFieldAndPayload,
}Variants§
Trait Implementations§
Source§impl<'__de> BorrowDecode<'__de> for AdaptationFieldControl
impl<'__de> BorrowDecode<'__de> for AdaptationFieldControl
Source§fn borrow_decode<__D: BorrowDecoder<'__de>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for AdaptationFieldControl
impl Clone for AdaptationFieldControl
Source§fn clone(&self) -> AdaptationFieldControl
fn clone(&self) -> AdaptationFieldControl
Returns a copy of the value. Read more
1.0.0 · 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 AdaptationFieldControl
impl Debug for AdaptationFieldControl
Source§impl Decode for AdaptationFieldControl
impl Decode for AdaptationFieldControl
Source§impl Default for AdaptationFieldControl
impl Default for AdaptationFieldControl
Source§fn default() -> AdaptationFieldControl
fn default() -> AdaptationFieldControl
Returns the “default value” for a type. Read more
Source§impl Encode for AdaptationFieldControl
impl Encode for AdaptationFieldControl
Source§impl PartialEq for AdaptationFieldControl
impl PartialEq for AdaptationFieldControl
impl Eq for AdaptationFieldControl
impl StructuralPartialEq for AdaptationFieldControl
Auto Trait Implementations§
impl Freeze for AdaptationFieldControl
impl RefUnwindSafe for AdaptationFieldControl
impl Send for AdaptationFieldControl
impl Sync for AdaptationFieldControl
impl Unpin for AdaptationFieldControl
impl UnwindSafe for AdaptationFieldControl
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