Struct puffin::put::PutOptions
source · pub struct PutOptions {
options: Vec<(String, String)>,
}
Fields§
§options: Vec<(String, String)>
Implementations§
source§impl PutOptions
impl PutOptions
pub fn get_option(&self, key: &str) -> Option<&str>
Trait Implementations§
source§impl Clone for PutOptions
impl Clone for PutOptions
source§fn clone(&self) -> PutOptions
fn clone(&self) -> PutOptions
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 PutOptions
impl Debug for PutOptions
source§impl Default for PutOptions
impl Default for PutOptions
source§fn default() -> PutOptions
fn default() -> PutOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PutOptions
impl<'de> Deserialize<'de> for PutOptions
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for PutOptions
impl Hash for PutOptions
source§impl PartialEq for PutOptions
impl PartialEq for PutOptions
source§impl Serialize for PutOptions
impl Serialize for PutOptions
impl Eq for PutOptions
impl StructuralPartialEq for PutOptions
Auto Trait Implementations§
impl Freeze for PutOptions
impl RefUnwindSafe for PutOptions
impl Send for PutOptions
impl Sync for PutOptions
impl Unpin for PutOptions
impl UnwindSafe for PutOptions
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
§impl<T> CloneAny for T
impl<T> CloneAny for T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
type PreprendResult = Tail
The Resulting [
TupleList
], of an [Prepend::prepend()
] call,
including the prepended entry.