#[non_exhaustive]pub struct AddOptions {
pub forefront: bool,
}Expand description
Options controlling insertion of requests.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.forefront: boolWhether to insert at the front of the queue.
Trait Implementations§
Source§impl Clone for AddOptions
impl Clone for AddOptions
Source§fn clone(&self) -> AddOptions
fn clone(&self) -> AddOptions
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 AddOptions
impl Debug for AddOptions
Source§impl Default for AddOptions
impl Default for AddOptions
Source§fn default() -> AddOptions
fn default() -> AddOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AddOptions
impl RefUnwindSafe for AddOptions
impl Send for AddOptions
impl Sync for AddOptions
impl Unpin for AddOptions
impl UnsafeUnpin for AddOptions
impl UnwindSafe for AddOptions
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