pub struct LogBuilder<State>(/* private fields */);
Expand description
Builder for serializing an instance of the Log type.
Can be created using the Log::builder method.
Implementations§
Source§impl LogBuilder<()>
impl LogBuilder<()>
Sourcepub fn data<T0>(self, value: T0) -> LogBuilder<(T0,)>
pub fn data<T0>(self, value: T0) -> LogBuilder<(T0,)>
Setter for the data
field.
Trait Implementations§
Source§impl<State: Debug> Debug for LogBuilder<State>
impl<State: Debug> Debug for LogBuilder<State>
impl<T0: WriteAs<Offset<str>>> WriteAs<Offset<Log>> for LogBuilder<(T0,)>
impl<T0: WriteAs<Offset<str>>> WriteAsOffset<Log> for LogBuilder<(T0,)>
impl<T0: WriteAs<Offset<str>>> WriteAsOptional<Offset<Log>> for LogBuilder<(T0,)>
Auto Trait Implementations§
impl<State> Freeze for LogBuilder<State>where
State: Freeze,
impl<State> RefUnwindSafe for LogBuilder<State>where
State: RefUnwindSafe,
impl<State> Send for LogBuilder<State>where
State: Send,
impl<State> Sync for LogBuilder<State>where
State: Sync,
impl<State> Unpin for LogBuilder<State>where
State: Unpin,
impl<State> UnwindSafe for LogBuilder<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