pub struct AddHeader { /* private fields */ }
Expand description
Add a header
Implementations§
Trait Implementations§
Source§impl From<AddHeader> for ModificationAction
impl From<AddHeader> for ModificationAction
Source§fn from(v: AddHeader) -> ModificationAction
fn from(v: AddHeader) -> ModificationAction
Converts to this type from the input type.
Source§impl From<AddHeader> for ServerCommand
impl From<AddHeader> for ServerCommand
Source§impl TryInto<AddHeader> for ModificationAction
impl TryInto<AddHeader> for ModificationAction
Auto Trait Implementations§
impl Freeze for AddHeader
impl RefUnwindSafe for AddHeader
impl Send for AddHeader
impl Sync for AddHeader
impl Unpin for AddHeader
impl UnwindSafe for AddHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more