#[non_exhaustive]pub struct ServiceVersion(/* private fields */);Expand description
The Smithy service shape’s version, stored in a ConfigBag by generated clients.
awsQuery puts this on the wire as the Version= form parameter, so it is a request-shaping
fact that only the model knows. Stored for the same reason as ServiceShapeName: a customer
can select awsQuery via Config::builder().protocol(..) on a client generated for some other
protocol, and could not otherwise supply the right value.
Implementations§
Trait Implementations§
Source§impl Clone for ServiceVersion
impl Clone for ServiceVersion
Source§impl Debug for ServiceVersion
impl Debug for ServiceVersion
impl Eq for ServiceVersion
Source§impl PartialEq for ServiceVersion
impl PartialEq for ServiceVersion
Source§impl Storable for ServiceVersion
impl Storable for ServiceVersion
Source§type Storer = StoreReplace<ServiceVersion>
type Storer = StoreReplace<ServiceVersion>
Specify how an item is stored in the config bag, e.g.
StoreReplace and StoreAppendimpl StructuralPartialEq for ServiceVersion
Auto Trait Implementations§
impl Freeze for ServiceVersion
impl RefUnwindSafe for ServiceVersion
impl Send for ServiceVersion
impl Sync for ServiceVersion
impl Unpin for ServiceVersion
impl UnsafeUnpin for ServiceVersion
impl UnwindSafe for ServiceVersion
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.