pub enum EntitlementValue {
Bool(bool),
String(String),
Array(Vec<String>),
}Expand description
Typed Apple entitlement plist value (Bool, String, or Array<String>).
Variants§
Trait Implementations§
Source§impl Clone for EntitlementValue
impl Clone for EntitlementValue
Source§impl Debug for EntitlementValue
impl Debug for EntitlementValue
Source§impl<'de> Deserialize<'de> for EntitlementValue
impl<'de> Deserialize<'de> for EntitlementValue
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 EntitlementValue
Source§impl PartialEq for EntitlementValue
impl PartialEq for EntitlementValue
impl StructuralPartialEq for EntitlementValue
Auto Trait Implementations§
impl Forget for EntitlementValue
impl Freeze for EntitlementValue
impl Move for EntitlementValue
impl RefUnwindSafe for EntitlementValue
impl Send for EntitlementValuewhere
RawVecInner: Send,
impl Sync for EntitlementValuewhere
RawVecInner: Sync,
impl Unpin for EntitlementValue
impl UnsafeUnpin for EntitlementValuewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for EntitlementValuewhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.