pub enum SoapVersion {
Soap11,
Soap12,
}Expand description
SOAP protocol version. Controls the envelope namespace and the HTTP header shape used to carry the SOAP action.
Deserializes from the wire strings "1.1" / "1.2".
Variants§
Soap11
SOAP 1.1 — envelope namespace http://schemas.xmlsoap.org/soap/envelope/,
action carried in a separate SOAPAction header.
Soap12
SOAP 1.2 — envelope namespace http://www.w3.org/2003/05/soap-envelope,
action carried as a Content-Type parameter (no SOAPAction header).
Implementations§
Trait Implementations§
Source§impl Clone for SoapVersion
impl Clone for SoapVersion
Source§fn clone(&self) -> SoapVersion
fn clone(&self) -> SoapVersion
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 moreimpl Copy for SoapVersion
Source§impl Debug for SoapVersion
impl Debug for SoapVersion
Source§impl Default for SoapVersion
impl Default for SoapVersion
Source§fn default() -> SoapVersion
fn default() -> SoapVersion
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SoapVersion
impl<'de> Deserialize<'de> for SoapVersion
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
impl Eq for SoapVersion
Source§impl JsonSchema for SoapVersion
impl JsonSchema for SoapVersion
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SoapVersion
impl PartialEq for SoapVersion
Source§impl Serialize for SoapVersion
impl Serialize for SoapVersion
impl StructuralPartialEq for SoapVersion
Auto Trait Implementations§
impl Freeze for SoapVersion
impl RefUnwindSafe for SoapVersion
impl Send for SoapVersion
impl Sync for SoapVersion
impl Unpin for SoapVersion
impl UnsafeUnpin for SoapVersion
impl UnwindSafe for SoapVersion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.