pub struct SpotDatafeedSubscription {
pub bucket: String,
pub prefix: Option<String>,
pub owner_id: String,
pub state: String,
}Expand description
Singleton per-account spot-instance datafeed subscription. AWS allows
at most one subscription per account; CreateSpotDatafeedSubscription
fails with AlreadyExists if one is already present, and
DeleteSpotDatafeedSubscription clears it.
Fields§
§bucket: String§prefix: Option<String>§owner_id: String§state: String"Active" after Create, no other states are reachable in the
emulator. Real AWS also exposes Inactive while propagation to
S3 fails, which we don’t model.
Trait Implementations§
Source§impl Clone for SpotDatafeedSubscription
impl Clone for SpotDatafeedSubscription
Source§fn clone(&self) -> SpotDatafeedSubscription
fn clone(&self) -> SpotDatafeedSubscription
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 moreSource§impl Debug for SpotDatafeedSubscription
impl Debug for SpotDatafeedSubscription
Source§impl From<&SpotDatafeedSubscription> for SpotDatafeedSubscriptionView
impl From<&SpotDatafeedSubscription> for SpotDatafeedSubscriptionView
Source§fn from(s: &SpotDatafeedSubscription) -> Self
fn from(s: &SpotDatafeedSubscription) -> Self
Converts to this type from the input type.
Source§impl From<SpotDatafeedSubscriptionView> for SpotDatafeedSubscription
impl From<SpotDatafeedSubscriptionView> for SpotDatafeedSubscription
Source§fn from(v: SpotDatafeedSubscriptionView) -> Self
fn from(v: SpotDatafeedSubscriptionView) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SpotDatafeedSubscription
impl RefUnwindSafe for SpotDatafeedSubscription
impl Send for SpotDatafeedSubscription
impl Sync for SpotDatafeedSubscription
impl Unpin for SpotDatafeedSubscription
impl UnsafeUnpin for SpotDatafeedSubscription
impl UnwindSafe for SpotDatafeedSubscription
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.