pub enum WebApiValue {
Text(String),
Bytes(Vec<u8>),
Null,
}Expand description
The value of a Web API argument.
Variants§
Text(String)
Text; escaped like Uri.EscapeDataString.
Bytes(Vec<u8>)
Binary; every byte is escaped as %XX.
Null
Left out of the request.
Trait Implementations§
Source§impl Clone for WebApiValue
impl Clone for WebApiValue
Source§impl Debug for WebApiValue
impl Debug for WebApiValue
impl Eq for WebApiValue
Source§impl PartialEq for WebApiValue
impl PartialEq for WebApiValue
impl StructuralPartialEq for WebApiValue
Auto Trait Implementations§
impl Freeze for WebApiValue
impl RefUnwindSafe for WebApiValue
impl Send for WebApiValue
impl Sync for WebApiValue
impl Unpin for WebApiValue
impl UnsafeUnpin for WebApiValue
impl UnwindSafe for WebApiValue
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.