#[non_exhaustive]pub struct ServiceXmlNamespace { /* private fields */ }Expand description
The service-level @xmlNamespace trait, stored in a [ConfigBag] by generated clients.
restXml applies this as the default xmlns on request and response root elements, so it is a
request-shaping fact that only the model knows. Stored for the same reason as
ServiceShapeName.
@xmlNamespace is a prelude trait rather than a restXml-specific one, so it is resolvable from
any model — unlike @restXml(noErrorWrapping), which a non-restXml model simply does not carry
and which therefore stays caller-supplied.
Implementations§
Trait Implementations§
Source§impl Clone for ServiceXmlNamespace
impl Clone for ServiceXmlNamespace
Source§fn clone(&self) -> ServiceXmlNamespace
fn clone(&self) -> ServiceXmlNamespace
Returns a duplicate 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 ServiceXmlNamespace
impl Debug for ServiceXmlNamespace
Source§impl PartialEq for ServiceXmlNamespace
impl PartialEq for ServiceXmlNamespace
Source§impl Storable for ServiceXmlNamespace
impl Storable for ServiceXmlNamespace
Source§type Storer = StoreReplace<ServiceXmlNamespace>
type Storer = StoreReplace<ServiceXmlNamespace>
Specify how an item is stored in the config bag, e.g. [
StoreReplace] and [StoreAppend]impl Eq for ServiceXmlNamespace
impl StructuralPartialEq for ServiceXmlNamespace
Auto Trait Implementations§
impl Freeze for ServiceXmlNamespace
impl RefUnwindSafe for ServiceXmlNamespace
impl Send for ServiceXmlNamespace
impl Sync for ServiceXmlNamespace
impl Unpin for ServiceXmlNamespace
impl UnsafeUnpin for ServiceXmlNamespace
impl UnwindSafe for ServiceXmlNamespace
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<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
§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
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.