pub struct BufferedAmountLowNotificationBuilder<State>(/* private fields */);
Expand description
Builder for serializing an instance of the BufferedAmountLowNotification type.
Can be created using the BufferedAmountLowNotification::builder method.
Implementations§
Source§impl BufferedAmountLowNotificationBuilder<()>
impl BufferedAmountLowNotificationBuilder<()>
Sourcepub fn buffered_amount<T0>(
self,
value: T0,
) -> BufferedAmountLowNotificationBuilder<(T0,)>
pub fn buffered_amount<T0>( self, value: T0, ) -> BufferedAmountLowNotificationBuilder<(T0,)>
Setter for the buffered_amount
field.
Sourcepub fn buffered_amount_as_default(
self,
) -> BufferedAmountLowNotificationBuilder<(DefaultValue,)>
pub fn buffered_amount_as_default( self, ) -> BufferedAmountLowNotificationBuilder<(DefaultValue,)>
Sets the buffered_amount
field to the default value.
Source§impl<T0> BufferedAmountLowNotificationBuilder<(T0,)>
impl<T0> BufferedAmountLowNotificationBuilder<(T0,)>
Sourcepub fn finish(
self,
builder: &mut Builder,
) -> Offset<BufferedAmountLowNotification>where
Self: WriteAsOffset<BufferedAmountLowNotification>,
pub fn finish(
self,
builder: &mut Builder,
) -> Offset<BufferedAmountLowNotification>where
Self: WriteAsOffset<BufferedAmountLowNotification>,
Finish writing the builder to get an Offset to a serialized BufferedAmountLowNotification.
Trait Implementations§
Source§impl<State: Debug> Debug for BufferedAmountLowNotificationBuilder<State>
impl<State: Debug> Debug for BufferedAmountLowNotificationBuilder<State>
impl<T0: WriteAsDefault<u32, u32>> WriteAs<Offset<BufferedAmountLowNotification>> for BufferedAmountLowNotificationBuilder<(T0,)>
impl<T0: WriteAsDefault<u32, u32>> WriteAsOffset<BufferedAmountLowNotification> for BufferedAmountLowNotificationBuilder<(T0,)>
impl<T0: WriteAsDefault<u32, u32>> WriteAsOptional<Offset<BufferedAmountLowNotification>> for BufferedAmountLowNotificationBuilder<(T0,)>
Auto Trait Implementations§
impl<State> Freeze for BufferedAmountLowNotificationBuilder<State>where
State: Freeze,
impl<State> RefUnwindSafe for BufferedAmountLowNotificationBuilder<State>where
State: RefUnwindSafe,
impl<State> Send for BufferedAmountLowNotificationBuilder<State>where
State: Send,
impl<State> Sync for BufferedAmountLowNotificationBuilder<State>where
State: Sync,
impl<State> Unpin for BufferedAmountLowNotificationBuilder<State>where
State: Unpin,
impl<State> UnwindSafe for BufferedAmountLowNotificationBuilder<State>where
State: UnwindSafe,
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