pub struct DryRun {
pub package: DryRunPackage,
pub runtimes: Vec<DryRunPackage>,
pub remotes: Vec<RemoteInfo>,
pub has_update_source: bool,
pub is_replacing_remote: Optional<RemoteInfo>,
}
Fields§
§package: DryRunPackage
The Flatpak package for which the dry-run is performed (can be an application or runtime)
runtimes: Vec<DryRunPackage>
Runtimes that would be affected by the Flatpak transaction (e.g. install, update or uninstall)
remotes: Vec<RemoteInfo>
Remotes that would be added by the Flatpak transaction
has_update_source: bool
Whether the package has an source for future app updates (for example Flatpak bundles don’t have necessary an update source)
is_replacing_remote: Optional<RemoteInfo>
Whether the package is already installed from a different remote, and the old app needs to get uninstalled first
Trait Implementations§
source§impl<'de> Deserialize<'de> for DryRun
impl<'de> Deserialize<'de> for DryRun
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 IntoGlibPtr<*mut DryRun> for DryRun
impl IntoGlibPtr<*mut DryRun> for DryRun
source§unsafe fn into_glib_ptr(self) -> *mut DryRun
unsafe fn into_glib_ptr(self) -> *mut DryRun
Transfer: full.
source§impl PartialEq<DryRun> for DryRun
impl PartialEq<DryRun> for DryRun
source§impl StaticType for DryRun
impl StaticType for DryRun
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl<'a> ToGlibPtr<'a, *const DryRun> for DryRun
impl<'a> ToGlibPtr<'a, *const DryRun> for DryRun
type Storage = PhantomData<&'a DryRun>
§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 DryRun> for DryRun
impl<'a> ToGlibPtr<'a, *mut DryRun> for DryRun
type Storage = PhantomData<&'a DryRun>
§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 ToValueOptional for DryRun
impl ToValueOptional for DryRun
source§fn to_value_optional(s: Option<&Self>) -> Value
fn to_value_optional(s: Option<&Self>) -> Value
Convert an
Option
to a Value
.impl Eq for DryRun
impl StructuralEq for DryRun
impl StructuralPartialEq for DryRun
impl ValueTypeOptional for DryRun
Auto Trait Implementations§
impl RefUnwindSafe for DryRun
impl Send for DryRun
impl Sync for DryRun
impl Unpin for DryRun
impl UnwindSafe for DryRun
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
.