Struct ehelply::models::category_db::CategoryDb
source · [−]pub struct CategoryDb {
pub uuid: String,
pub name: String,
pub project_uuid: Option<String>,
pub meta_uuid: Option<String>,
}
Expand description
CategoryDb : :param uuid type: string :param name type: string :param project_uuid type: string or None :param meta_uuid type: string or None
Fields
uuid: String
name: String
project_uuid: Option<String>
meta_uuid: Option<String>
Implementations
sourceimpl CategoryDb
impl CategoryDb
sourcepub fn new(uuid: String, name: String) -> CategoryDb
pub fn new(uuid: String, name: String) -> CategoryDb
:param uuid type: string :param name type: string :param project_uuid type: string or None :param meta_uuid type: string or None
Trait Implementations
sourceimpl Clone for CategoryDb
impl Clone for CategoryDb
sourcefn clone(&self) -> CategoryDb
fn clone(&self) -> CategoryDb
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CategoryDb
impl Debug for CategoryDb
sourceimpl Default for CategoryDb
impl Default for CategoryDb
sourcefn default() -> CategoryDb
fn default() -> CategoryDb
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CategoryDb
impl<'de> Deserialize<'de> for CategoryDb
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<CategoryDb> for CategoryDb
impl PartialEq<CategoryDb> for CategoryDb
sourcefn eq(&self, other: &CategoryDb) -> bool
fn eq(&self, other: &CategoryDb) -> bool
sourceimpl Serialize for CategoryDb
impl Serialize for CategoryDb
impl StructuralPartialEq for CategoryDb
Auto Trait Implementations
impl RefUnwindSafe for CategoryDb
impl Send for CategoryDb
impl Sync for CategoryDb
impl Unpin for CategoryDb
impl UnwindSafe for CategoryDb
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more