pub struct SubscriptionSpec {
pub profile: Option<String>,
pub priority: u32,
pub accept_recommended: bool,
pub opt_in: Vec<String>,
pub overrides: Value,
pub reject: Value,
}Fields§
§profile: Option<String>§priority: u32§accept_recommended: bool§opt_in: Vec<String>§overrides: Value§reject: ValueTrait Implementations§
Source§impl Clone for SubscriptionSpec
impl Clone for SubscriptionSpec
Source§fn clone(&self) -> SubscriptionSpec
fn clone(&self) -> SubscriptionSpec
Returns a duplicate of the value. Read more
1.0.0 · 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 SubscriptionSpec
impl Debug for SubscriptionSpec
Source§impl Default for SubscriptionSpec
impl Default for SubscriptionSpec
Source§impl<'de> Deserialize<'de> for SubscriptionSpec
impl<'de> Deserialize<'de> for SubscriptionSpec
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 SubscriptionSpec
impl RefUnwindSafe for SubscriptionSpec
impl Send for SubscriptionSpec
impl Sync for SubscriptionSpec
impl Unpin for SubscriptionSpec
impl UnsafeUnpin for SubscriptionSpec
impl UnwindSafe for SubscriptionSpec
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