Enum postman_collection::v2_0_0::RequestUnion
source · [−]pub enum RequestUnion {
RequestClass(RequestClass),
String(String),
}
Expand description
A request represents an HTTP request. If a string, the string is assumed to be the request URL and the method is assumed to be ‘GET’.
Variants
RequestClass(RequestClass)
String(String)
Trait Implementations
sourceimpl Clone for RequestUnion
impl Clone for RequestUnion
sourcefn clone(&self) -> RequestUnion
fn clone(&self) -> RequestUnion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RequestUnion
impl Debug for RequestUnion
sourceimpl<'de> Deserialize<'de> for RequestUnion
impl<'de> Deserialize<'de> for RequestUnion
sourcefn 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
sourceimpl PartialEq<RequestUnion> for RequestUnion
impl PartialEq<RequestUnion> for RequestUnion
sourcefn eq(&self, other: &RequestUnion) -> bool
fn eq(&self, other: &RequestUnion) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RequestUnion) -> bool
fn ne(&self, other: &RequestUnion) -> bool
This method tests for !=
.
sourceimpl Serialize for RequestUnion
impl Serialize for RequestUnion
impl StructuralPartialEq for RequestUnion
Auto Trait Implementations
impl RefUnwindSafe for RequestUnion
impl Send for RequestUnion
impl Sync for RequestUnion
impl Unpin for RequestUnion
impl UnwindSafe for RequestUnion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more