pub struct StorageNotificationBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> StorageNotificationBuilder<S>
impl<S: State> StorageNotificationBuilder<S>
Sourcepub fn build(self) -> StorageNotificationwhere
S: IsComplete,
pub fn build(self) -> StorageNotificationwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn queue(
self,
value: ResourceRef,
) -> StorageNotificationBuilder<SetQueue<S>>where
S::Queue: IsUnset,
pub fn queue(
self,
value: ResourceRef,
) -> StorageNotificationBuilder<SetQueue<S>>where
S::Queue: IsUnset,
Required.
Target Queue. It must have the same lifecycle as the Storage.
Sourcepub fn events(
self,
value: Vec<StorageNotificationEvent>,
) -> StorageNotificationBuilder<SetEvents<S>>where
S::Events: IsUnset,
pub fn events(
self,
value: Vec<StorageNotificationEvent>,
) -> StorageNotificationBuilder<SetEvents<S>>where
S::Events: IsUnset,
Sourcepub fn maybe_events(
self,
value: Option<Vec<StorageNotificationEvent>>,
) -> StorageNotificationBuilder<SetEvents<S>>where
S::Events: IsUnset,
pub fn maybe_events(
self,
value: Option<Vec<StorageNotificationEvent>>,
) -> StorageNotificationBuilder<SetEvents<S>>where
S::Events: IsUnset,
Sourcepub fn prefix(self, value: String) -> StorageNotificationBuilder<SetPrefix<S>>where
S::Prefix: IsUnset,
pub fn prefix(self, value: String) -> StorageNotificationBuilder<SetPrefix<S>>where
S::Prefix: IsUnset,
Sourcepub fn maybe_prefix(
self,
value: Option<String>,
) -> StorageNotificationBuilder<SetPrefix<S>>where
S::Prefix: IsUnset,
pub fn maybe_prefix(
self,
value: Option<String>,
) -> StorageNotificationBuilder<SetPrefix<S>>where
S::Prefix: IsUnset,
Sourcepub fn suffix(self, value: String) -> StorageNotificationBuilder<SetSuffix<S>>where
S::Suffix: IsUnset,
pub fn suffix(self, value: String) -> StorageNotificationBuilder<SetSuffix<S>>where
S::Suffix: IsUnset,
Sourcepub fn maybe_suffix(
self,
value: Option<String>,
) -> StorageNotificationBuilder<SetSuffix<S>>where
S::Suffix: IsUnset,
pub fn maybe_suffix(
self,
value: Option<String>,
) -> StorageNotificationBuilder<SetSuffix<S>>where
S::Suffix: IsUnset,
Auto Trait Implementations§
impl<S> Forget for StorageNotificationBuilder<S>
impl<S> Freeze for StorageNotificationBuilder<S>
impl<S> RefUnwindSafe for StorageNotificationBuilder<S>
impl<S> Send for StorageNotificationBuilder<S>
impl<S> Sync for StorageNotificationBuilder<S>
impl<S> Unpin for StorageNotificationBuilder<S>
impl<S> UnsafeUnpin for StorageNotificationBuilder<S>
impl<S> UnwindSafe for StorageNotificationBuilder<S>
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