pub struct RuleFeatures {
pub is_demo_user: Option<bool>,
pub has_custom_resolution: Option<bool>,
}
Expand description
Special features.
Fields§
§is_demo_user: Option<bool>
Demo User.
has_custom_resolution: Option<bool>
Custom resolution feature.
Trait Implementations§
Source§impl Clone for RuleFeatures
impl Clone for RuleFeatures
Source§fn clone(&self) -> RuleFeatures
fn clone(&self) -> RuleFeatures
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RuleFeatures
impl Debug for RuleFeatures
Source§impl<'de> Deserialize<'de> for RuleFeatures
impl<'de> Deserialize<'de> for RuleFeatures
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 RuleFeatures
impl RefUnwindSafe for RuleFeatures
impl Send for RuleFeatures
impl Sync for RuleFeatures
impl Unpin for RuleFeatures
impl UnwindSafe for RuleFeatures
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