pub struct PrivateServerInfoSubscription {
pub price: u64,
pub active: bool,
pub expired: bool,
pub can_renew: bool,
pub has_price_changed: bool,
pub has_recurring_profile: bool,
pub has_insufficient_funds: bool,
pub expiration_date: DateTime,
}Fields§
§price: u64§active: bool§expired: bool§can_renew: bool§has_price_changed: bool§has_recurring_profile: bool§has_insufficient_funds: bool§expiration_date: DateTimeTrait Implementations§
Source§impl Clone for PrivateServerInfoSubscription
impl Clone for PrivateServerInfoSubscription
Source§fn clone(&self) -> PrivateServerInfoSubscription
fn clone(&self) -> PrivateServerInfoSubscription
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for PrivateServerInfoSubscription
impl<'de> Deserialize<'de> for PrivateServerInfoSubscription
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
impl Eq for PrivateServerInfoSubscription
Source§impl PartialEq for PrivateServerInfoSubscription
impl PartialEq for PrivateServerInfoSubscription
Source§fn eq(&self, other: &PrivateServerInfoSubscription) -> bool
fn eq(&self, other: &PrivateServerInfoSubscription) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PrivateServerInfoSubscription
Auto Trait Implementations§
impl Freeze for PrivateServerInfoSubscription
impl RefUnwindSafe for PrivateServerInfoSubscription
impl Send for PrivateServerInfoSubscription
impl Sync for PrivateServerInfoSubscription
impl Unpin for PrivateServerInfoSubscription
impl UnsafeUnpin for PrivateServerInfoSubscription
impl UnwindSafe for PrivateServerInfoSubscription
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