pub struct Input(pub String);Expand description
A structure representing an input with a single string value.
This struct is designed to encapsulate a single piece of input data as a String.
It provides a simple wrapper that can be used to convert various types of string
representations into a uniform Input struct.
Tuple Fields§
§0: StringTrait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnwindSafe for Input
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