#[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§impl Debug for ServiceXmlNamespace
impl Debug for ServiceXmlNamespace
impl Eq 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 StoreAppendimpl 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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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.