Struct ehelply::models::projects_usage_type_db::ProjectsUsageTypeDb
source · pub struct ProjectsUsageTypeDb {
pub key: String,
pub name: String,
pub summary: String,
pub category: String,
pub service: String,
pub unit_prices: Vec<ProjectsUsageTypeUnitPrice>,
}
Expand description
ProjectsUsageTypeDb : Used for DB row entry
Fields
key: String
name: String
summary: String
category: String
service: String
unit_prices: Vec<ProjectsUsageTypeUnitPrice>
Implementations
sourceimpl ProjectsUsageTypeDb
impl ProjectsUsageTypeDb
sourcepub fn new(
key: String,
name: String,
summary: String,
category: String,
service: String,
unit_prices: Vec<ProjectsUsageTypeUnitPrice>
) -> ProjectsUsageTypeDb
pub fn new(
key: String,
name: String,
summary: String,
category: String,
service: String,
unit_prices: Vec<ProjectsUsageTypeUnitPrice>
) -> ProjectsUsageTypeDb
Used for DB row entry
Trait Implementations
sourceimpl Clone for ProjectsUsageTypeDb
impl Clone for ProjectsUsageTypeDb
sourcefn clone(&self) -> ProjectsUsageTypeDb
fn clone(&self) -> ProjectsUsageTypeDb
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 ProjectsUsageTypeDb
impl Debug for ProjectsUsageTypeDb
sourceimpl Default for ProjectsUsageTypeDb
impl Default for ProjectsUsageTypeDb
sourcefn default() -> ProjectsUsageTypeDb
fn default() -> ProjectsUsageTypeDb
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ProjectsUsageTypeDb
impl<'de> Deserialize<'de> for ProjectsUsageTypeDb
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<ProjectsUsageTypeDb> for ProjectsUsageTypeDb
impl PartialEq<ProjectsUsageTypeDb> for ProjectsUsageTypeDb
sourcefn eq(&self, other: &ProjectsUsageTypeDb) -> bool
fn eq(&self, other: &ProjectsUsageTypeDb) -> bool
sourceimpl Serialize for ProjectsUsageTypeDb
impl Serialize for ProjectsUsageTypeDb
impl StructuralPartialEq for ProjectsUsageTypeDb
Auto Trait Implementations
impl RefUnwindSafe for ProjectsUsageTypeDb
impl Send for ProjectsUsageTypeDb
impl Sync for ProjectsUsageTypeDb
impl Unpin for ProjectsUsageTypeDb
impl UnwindSafe for ProjectsUsageTypeDb
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