Struct souk::shared::flatpak::dry_run::dry_run_package::DryRunPackage
source · pub struct DryRunPackage {
pub info: PackageInfo,
pub operation_kind: FlatpakOperationKind,
pub download_size: u64,
pub installed_size: u64,
pub icon: Optional<Vec<u8>>,
pub appstream_component: Optional<String>,
pub metadata: String,
pub old_metadata: Optional<String>,
}
Fields§
§info: PackageInfo
§operation_kind: FlatpakOperationKind
§download_size: u64
§installed_size: u64
§icon: Optional<Vec<u8>>
§appstream_component: Optional<String>
Json serialized appstream component
metadata: String
Flatpak metadata
old_metadata: Optional<String>
Implementations§
source§impl DryRunPackage
impl DryRunPackage
pub fn from_flatpak_operation(
operation: &TransactionOperation,
remote_info: &RemoteInfo
) -> Self
Trait Implementations§
source§impl BoxedType for DryRunPackage
impl BoxedType for DryRunPackage
source§impl Clone for DryRunPackage
impl Clone for DryRunPackage
source§fn clone(&self) -> DryRunPackage
fn clone(&self) -> DryRunPackage
Returns a copy 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 DryRunPackage
impl Debug for DryRunPackage
source§impl Default for DryRunPackage
impl Default for DryRunPackage
source§impl<'de> Deserialize<'de> for DryRunPackage
impl<'de> Deserialize<'de> for DryRunPackage
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 From<DryRunPackage> for Value
impl From<DryRunPackage> for Value
source§fn from(v: DryRunPackage) -> Self
fn from(v: DryRunPackage) -> Self
Converts to this type from the input type.
source§impl FromGlibPtrFull<*mut DryRunPackage> for DryRunPackage
impl FromGlibPtrFull<*mut DryRunPackage> for DryRunPackage
source§unsafe fn from_glib_full(ptr: *mut DryRunPackage) -> Self
unsafe fn from_glib_full(ptr: *mut DryRunPackage) -> Self
Safety Read more
source§impl FromGlibPtrNone<*const DryRunPackage> for DryRunPackage
impl FromGlibPtrNone<*const DryRunPackage> for DryRunPackage
source§unsafe fn from_glib_none(ptr: *const DryRunPackage) -> Self
unsafe fn from_glib_none(ptr: *const DryRunPackage) -> Self
Safety Read more
source§impl FromGlibPtrNone<*mut DryRunPackage> for DryRunPackage
impl FromGlibPtrNone<*mut DryRunPackage> for DryRunPackage
source§unsafe fn from_glib_none(ptr: *mut DryRunPackage) -> Self
unsafe fn from_glib_none(ptr: *mut DryRunPackage) -> Self
Safety Read more
source§impl<'a> FromValue<'a> for &'a DryRunPackage
impl<'a> FromValue<'a> for &'a DryRunPackage
§type Checker = GenericValueTypeChecker<&'a DryRunPackage>
type Checker = GenericValueTypeChecker<&'a DryRunPackage>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl<'a> FromValue<'a> for DryRunPackage
impl<'a> FromValue<'a> for DryRunPackage
§type Checker = GenericValueTypeChecker<DryRunPackage>
type Checker = GenericValueTypeChecker<DryRunPackage>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl HasParamSpec for DryRunPackage
impl HasParamSpec for DryRunPackage
type ParamSpec = ParamSpecBoxed
§type SetValue = DryRunPackage
type SetValue = DryRunPackage
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, DryRunPackage>
fn param_spec_builder() -> Self::BuilderFn
source§impl Hash for DryRunPackage
impl Hash for DryRunPackage
source§impl IntoGlibPtr<*mut DryRunPackage> for DryRunPackage
impl IntoGlibPtr<*mut DryRunPackage> for DryRunPackage
source§unsafe fn into_glib_ptr(self) -> *mut DryRunPackage
unsafe fn into_glib_ptr(self) -> *mut DryRunPackage
Transfer: full.
source§impl PartialEq<DryRunPackage> for DryRunPackage
impl PartialEq<DryRunPackage> for DryRunPackage
source§fn eq(&self, other: &DryRunPackage) -> bool
fn eq(&self, other: &DryRunPackage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DryRunPackage
impl Serialize for DryRunPackage
source§impl StaticType for DryRunPackage
impl StaticType for DryRunPackage
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl<'a> ToGlibPtr<'a, *const DryRunPackage> for DryRunPackage
impl<'a> ToGlibPtr<'a, *const DryRunPackage> for DryRunPackage
type Storage = PhantomData<&'a DryRunPackage>
source§fn to_glib_none(&'a self) -> Stash<'a, *const DryRunPackage, Self>
fn to_glib_none(&'a self) -> Stash<'a, *const DryRunPackage, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *const DryRunPackage
fn to_glib_full(&self) -> *const DryRunPackage
Transfer: full. Read more
§fn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
source§impl<'a> ToGlibPtr<'a, *mut DryRunPackage> for DryRunPackage
impl<'a> ToGlibPtr<'a, *mut DryRunPackage> for DryRunPackage
type Storage = PhantomData<&'a DryRunPackage>
source§fn to_glib_none(&'a self) -> Stash<'a, *mut DryRunPackage, Self>
fn to_glib_none(&'a self) -> Stash<'a, *mut DryRunPackage, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *mut DryRunPackage
fn to_glib_full(&self) -> *mut DryRunPackage
Transfer: full. Read more
§fn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
source§impl ToValue for DryRunPackage
impl ToValue for DryRunPackage
source§impl Type for DryRunPackage
impl Type for DryRunPackage
source§impl ValueType for DryRunPackage
impl ValueType for DryRunPackage
§type Type = DryRunPackage
type Type = DryRunPackage
Type to get the
Type
from. Read moreimpl Eq for DryRunPackage
impl StructuralEq for DryRunPackage
impl StructuralPartialEq for DryRunPackage
Auto Trait Implementations§
impl RefUnwindSafe for DryRunPackage
impl Send for DryRunPackage
impl Sync for DryRunPackage
impl Unpin for DryRunPackage
impl UnwindSafe for DryRunPackage
Blanket Implementations§
§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de> + ?Sized,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de> + ?Sized,
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
§impl<T> DynamicType for Twhere
T: Type + ?Sized,
impl<T> DynamicType for Twhere
T: Type + ?Sized,
§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoClosureReturnValue for Twhere
T: Into<Value>,
impl<T> IntoClosureReturnValue for Twhere
T: Into<Value>,
fn into_closure_return_value(self) -> Option<Value>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.
§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
§impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.