pub struct Service {Show 22 fields
pub id: u32,
pub product_id: u32,
pub group_id: u32,
pub name: String,
pub raw_name: String,
pub domain: String,
pub first_payment_amount: f64,
pub recurring_amount: f64,
pub billing_cycle: String,
pub next_due_date: u64,
pub status: String,
pub username: String,
pub password: Option<String>,
pub vps_id: Option<u32>,
pub dedicated_id: Option<Vec<String>>,
pub is_vps: bool,
pub is_web_hosting: bool,
pub is_dedicated: bool,
pub is_hetzner_dedicated: bool,
pub is_sky_link_dedicated: bool,
pub addons: Vec<Addon>,
pub features: Vec<String>,
}Fields§
§id: u32§product_id: u32§group_id: u32§name: String§raw_name: String§domain: String§first_payment_amount: f64§recurring_amount: f64§billing_cycle: String§next_due_date: u64§status: String§username: String§password: Option<String>§vps_id: Option<u32>§dedicated_id: Option<Vec<String>>§is_vps: bool§is_web_hosting: bool§is_dedicated: bool§is_hetzner_dedicated: bool§is_sky_link_dedicated: bool§addons: Vec<Addon>§features: Vec<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Service
impl<'de> Deserialize<'de> for Service
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 Service
impl RefUnwindSafe for Service
impl Send for Service
impl Sync for Service
impl Unpin for Service
impl UnwindSafe for Service
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