Enum syndicate::schemas::http::QueryValue
source · pub enum QueryValue {
String(String),
File {
filename: String,
headers: Box<Headers>,
body: Vec<u8>,
},
}Variants§
Trait Implementations§
source§impl Clone for QueryValue
impl Clone for QueryValue
source§fn clone(&self) -> QueryValue
fn clone(&self) -> QueryValue
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 QueryValue
impl Debug for QueryValue
source§impl<_Value: NestedValue> Deserialize<_Value> for QueryValue
impl<_Value: NestedValue> Deserialize<_Value> for QueryValue
fn deserialize<'de, R: Reader<'de, _Value>>( r: &mut R ) -> Result<Self, ParseError>
source§impl Domain for QueryValue
impl Domain for QueryValue
source§impl Hash for QueryValue
impl Hash for QueryValue
source§impl Ord for QueryValue
impl Ord for QueryValue
source§fn cmp(&self, other: &QueryValue) -> Ordering
fn cmp(&self, other: &QueryValue) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<'a, _L: Copy + Into<&'a Language<_Value>>, _Value: NestedValue + 'a> Parse<_L, _Value> for QueryValue
impl<'a, _L: Copy + Into<&'a Language<_Value>>, _Value: NestedValue + 'a> Parse<_L, _Value> for QueryValue
source§impl PartialEq for QueryValue
impl PartialEq for QueryValue
source§fn eq(&self, other: &QueryValue) -> bool
fn eq(&self, other: &QueryValue) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for QueryValue
impl PartialOrd for QueryValue
source§fn partial_cmp(&self, other: &QueryValue) -> Option<Ordering>
fn partial_cmp(&self, other: &QueryValue) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl<'a, _L: Copy + Into<&'a Language<_Value>>, _Value: NestedValue + 'a> Unparse<_L, _Value> for QueryValue
impl<'a, _L: Copy + Into<&'a Language<_Value>>, _Value: NestedValue + 'a> Unparse<_L, _Value> for QueryValue
impl Eq for QueryValue
impl StructuralPartialEq for QueryValue
Auto Trait Implementations§
impl RefUnwindSafe for QueryValue
impl Send for QueryValue
impl Sync for QueryValue
impl Unpin for QueryValue
impl UnwindSafe for QueryValue
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