pub struct SerialConsoleAccessArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> SerialConsoleAccessArgsBuilder<S>
impl<S: State> SerialConsoleAccessArgsBuilder<S>
sourcepub fn build_struct(self) -> SerialConsoleAccessArgswhere
S: IsComplete,
pub fn build_struct(self) -> SerialConsoleAccessArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> SerialConsoleAccessArgsBuilder<SetEnabled<S>>where
S::Enabled: IsUnset,
pub fn enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> SerialConsoleAccessArgsBuilder<SetEnabled<S>>where
S::Enabled: IsUnset,
sourcepub fn maybe_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> SerialConsoleAccessArgsBuilder<SetEnabled<S>>where
S::Enabled: IsUnset,
pub fn maybe_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> SerialConsoleAccessArgsBuilder<SetEnabled<S>>where
S::Enabled: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for SerialConsoleAccessArgsBuilder<S>
impl<S> RefUnwindSafe for SerialConsoleAccessArgsBuilder<S>
impl<S> Send for SerialConsoleAccessArgsBuilder<S>
impl<S> Sync for SerialConsoleAccessArgsBuilder<S>
impl<S> Unpin for SerialConsoleAccessArgsBuilder<S>
impl<S> UnwindSafe for SerialConsoleAccessArgsBuilder<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