pub struct Card {
pub number: u32,
pub from: NaiveDate,
pub to: NaiveDate,
pub doors: Vec<u8>,
}
Fields§
§number: u32
§from: NaiveDate
§to: NaiveDate
§doors: Vec<u8>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Card
impl RefUnwindSafe for Card
impl Send for Card
impl Sync for Card
impl Unpin for Card
impl UnwindSafe for Card
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