pub struct Subcategory {
pub id: Option<i64>,
pub name: String,
}Fields§
§id: Option<i64>§name: StringTrait Implementations§
Source§impl Clone for Subcategory
impl Clone for Subcategory
Source§fn clone(&self) -> Subcategory
fn clone(&self) -> Subcategory
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 moreAuto Trait Implementations§
impl Freeze for Subcategory
impl RefUnwindSafe for Subcategory
impl Send for Subcategory
impl Sync for Subcategory
impl Unpin for Subcategory
impl UnwindSafe for Subcategory
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