pub struct UsageEventSetting {
pub enable: Option<bool>,
pub enable_time: Option<String>,
pub interval_by_days: Option<i64>,
}Fields§
§enable: Option<bool>§enable_time: Option<String>§interval_by_days: Option<i64>Implementations§
Source§impl UsageEventSetting
impl UsageEventSetting
pub fn new() -> UsageEventSetting
Trait Implementations§
Source§impl Clone for UsageEventSetting
impl Clone for UsageEventSetting
Source§fn clone(&self) -> UsageEventSetting
fn clone(&self) -> UsageEventSetting
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 Debug for UsageEventSetting
impl Debug for UsageEventSetting
Source§impl Default for UsageEventSetting
impl Default for UsageEventSetting
Source§fn default() -> UsageEventSetting
fn default() -> UsageEventSetting
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UsageEventSetting
impl<'de> Deserialize<'de> for UsageEventSetting
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
Source§impl PartialEq for UsageEventSetting
impl PartialEq for UsageEventSetting
Source§fn eq(&self, other: &UsageEventSetting) -> bool
fn eq(&self, other: &UsageEventSetting) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UsageEventSetting
impl Serialize for UsageEventSetting
impl StructuralPartialEq for UsageEventSetting
Auto Trait Implementations§
impl Freeze for UsageEventSetting
impl RefUnwindSafe for UsageEventSetting
impl Send for UsageEventSetting
impl Sync for UsageEventSetting
impl Unpin for UsageEventSetting
impl UnsafeUnpin for UsageEventSetting
impl UnwindSafe for UsageEventSetting
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