Struct ashpd::flatpak::UpdateInfo
source · [−]pub struct UpdateInfo { /* private fields */ }Expand description
A response containing the update information when an update is available.
Implementations
sourceimpl UpdateInfo
impl UpdateInfo
pub fn running_commit(&self) -> &str
pub fn local_commit(&self) -> &str
pub fn remote_commit(&self) -> &str
Trait Implementations
sourceimpl Debug for UpdateInfo
impl Debug for UpdateInfo
sourceimpl<'de> Deserialize<'de> for UpdateInfo
impl<'de> Deserialize<'de> for UpdateInfo
sourcefn 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
sourceimpl Serialize for UpdateInfo
impl Serialize for UpdateInfo
sourceimpl Type for UpdateInfo
impl Type for UpdateInfo
Auto Trait Implementations
impl RefUnwindSafe for UpdateInfo
impl Send for UpdateInfo
impl Sync for UpdateInfo
impl Unpin for UpdateInfo
impl UnwindSafe for UpdateInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'de, T> DynamicDeserialize<'de> for T where
T: Type + Deserialize<'de> + ?Sized,
impl<'de, T> DynamicDeserialize<'de> for T where
T: Type + Deserialize<'de> + ?Sized,
type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
impl<T> DynamicType for T where
T: Type + ?Sized,
impl<T> DynamicType for T where
T: Type + ?Sized,
pub fn dynamic_signature(&self) -> Signature<'_>
pub fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more