pub struct Workspace {
pub id: i64,
pub name: String,
pub premium: Option<bool>,
pub admin: Option<bool>,
pub default_hourly_rate: Option<f64>,
pub default_currency: Option<String>,
pub only_admins_may_create_projects: Option<bool>,
pub only_admins_see_billable_rates: Option<bool>,
pub rounding: Option<i32>,
pub rounding_minutes: Option<i32>,
pub at: Option<DateTime<Utc>>,
pub logo_url: Option<String>,
}Fields§
§id: i64§name: String§admin: Option<bool>§default_hourly_rate: Option<f64>§default_currency: Option<String>§only_admins_may_create_projects: Option<bool>§only_admins_see_billable_rates: Option<bool>§rounding: Option<i32>§rounding_minutes: Option<i32>§at: Option<DateTime<Utc>>§logo_url: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Workspace
impl<'de> Deserialize<'de> for Workspace
Source§fn 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
Auto Trait Implementations§
impl Freeze for Workspace
impl RefUnwindSafe for Workspace
impl Send for Workspace
impl Sync for Workspace
impl Unpin for Workspace
impl UnsafeUnpin for Workspace
impl UnwindSafe for Workspace
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