pub struct LoadOption {
pub number: u16,
pub description: String,
}
Fields§
§number: u16
§description: String
Implementations§
Source§impl LoadOption
impl LoadOption
pub fn new(number: u16, description: String) -> LoadOption
Trait Implementations§
Source§impl Clone for LoadOption
impl Clone for LoadOption
Source§fn clone(&self) -> LoadOption
fn clone(&self) -> LoadOption
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LoadOption
impl Debug for LoadOption
Auto Trait Implementations§
impl Freeze for LoadOption
impl RefUnwindSafe for LoadOption
impl Send for LoadOption
impl Sync for LoadOption
impl Unpin for LoadOption
impl UnwindSafe for LoadOption
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