Struct ashpd::flatpak::UpdateInfo
source · pub struct UpdateInfo { /* private fields */ }
Expand description
A response containing the update information when an update is available.
Implementations§
source§impl UpdateInfo
impl UpdateInfo
sourcepub fn running_commit(&self) -> &str
pub fn running_commit(&self) -> &str
The currently running OSTree commit.
sourcepub fn local_commit(&self) -> &str
pub fn local_commit(&self) -> &str
The locally installed OSTree commit.
sourcepub fn remote_commit(&self) -> &str
pub fn remote_commit(&self) -> &str
The available commit to install.
Trait Implementations§
source§impl Debug for UpdateInfo
impl Debug for UpdateInfo
source§impl<'de> Deserialize<'de> for UpdateInfo
impl<'de> Deserialize<'de> for UpdateInfo
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 UpdateInfo
impl RefUnwindSafe for UpdateInfo
impl Send for UpdateInfo
impl Sync for UpdateInfo
impl Unpin for UpdateInfo
impl UnwindSafe for UpdateInfo
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<'de, T> DynamicDeserialize<'de> for T
impl<'de, T> DynamicDeserialize<'de> for T
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
source§fn deserializer_for_signature<S>(
signature: S,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature<S>( signature: S, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this signature.
source§impl<T> DynamicType for T
impl<T> DynamicType for T
source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more