Struct apple_flat_package::distribution::PkgRef
source · pub struct PkgRef {
pub active: Option<bool>,
pub auth: Option<String>,
pub id: String,
pub install_kbytes: Option<u64>,
pub on_conclusion: Option<String>,
pub on_conclusion_script: Option<String>,
pub version: Option<String>,
pub must_close: Option<MustClose>,
pub bundle_version: Option<BundleVersion>,
pub relocate: Vec<Relocate>,
}
Fields§
§active: Option<bool>
§auth: Option<String>
§id: String
§install_kbytes: Option<u64>
§on_conclusion: Option<String>
§on_conclusion_script: Option<String>
§version: Option<String>
§must_close: Option<MustClose>
§bundle_version: Option<BundleVersion>
§relocate: Vec<Relocate>
Trait Implementations§
source§impl<'de> Deserialize<'de> for PkgRef
impl<'de> Deserialize<'de> for PkgRef
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 PkgRef
impl PartialEq for PkgRef
impl Eq for PkgRef
impl StructuralEq for PkgRef
impl StructuralPartialEq for PkgRef
Auto Trait Implementations§
impl RefUnwindSafe for PkgRef
impl Send for PkgRef
impl Sync for PkgRef
impl Unpin for PkgRef
impl UnwindSafe for PkgRef
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.