pub struct ExtensionOffer {
pub name: String,
pub params: Vec<(String, Option<String>)>,
}Expand description
Eine geparste Extension mit optionalen Parametern.
Fields§
§name: StringExtension-Name (token, case-insensitive).
params: Vec<(String, Option<String>)>Liste der name=value-Parameter; value=None entspricht
einem Boolean-Parameter (nur Name).
Trait Implementations§
Source§impl Clone for ExtensionOffer
impl Clone for ExtensionOffer
Source§fn clone(&self) -> ExtensionOffer
fn clone(&self) -> ExtensionOffer
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 ExtensionOffer
impl Debug for ExtensionOffer
Source§impl PartialEq for ExtensionOffer
impl PartialEq for ExtensionOffer
Source§fn eq(&self, other: &ExtensionOffer) -> bool
fn eq(&self, other: &ExtensionOffer) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ExtensionOffer
impl StructuralPartialEq for ExtensionOffer
Auto Trait Implementations§
impl Freeze for ExtensionOffer
impl RefUnwindSafe for ExtensionOffer
impl Send for ExtensionOffer
impl Sync for ExtensionOffer
impl Unpin for ExtensionOffer
impl UnsafeUnpin for ExtensionOffer
impl UnwindSafe for ExtensionOffer
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