Struct ostree::Deployment[][src]

pub struct Deployment(_, _);

Implementations

impl Deployment[src]

pub fn new(
    index: i32,
    osname: &str,
    csum: &str,
    deployserial: i32,
    bootcsum: Option<&str>,
    bootserial: i32
) -> Deployment
[src]

pub fn clone(&self) -> Option<Deployment>[src]

pub fn equal(&self, bp: &Deployment) -> bool[src]

pub fn get_bootconfig(&self) -> Option<BootconfigParser>[src]

pub fn get_bootcsum(&self) -> Option<GString>[src]

pub fn get_bootserial(&self) -> i32[src]

pub fn get_csum(&self) -> Option<GString>[src]

pub fn get_deployserial(&self) -> i32[src]

pub fn get_index(&self) -> i32[src]

pub fn get_origin(&self) -> Option<KeyFile>[src]

pub fn get_origin_relpath(&self) -> Option<GString>[src]

pub fn get_osname(&self) -> Option<GString>[src]

pub fn get_unlocked(&self) -> DeploymentUnlockedState[src]

pub fn hash(&self) -> u32[src]

pub fn is_pinned(&self) -> bool[src]

pub fn is_staged(&self) -> bool[src]

pub fn set_bootconfig(&self, bootconfig: Option<&BootconfigParser>)[src]

pub fn set_bootserial(&self, index: i32)[src]

pub fn set_index(&self, index: i32)[src]

pub fn set_origin(&self, origin: Option<&KeyFile>)[src]

pub fn origin_remove_transient_state(origin: &KeyFile)[src]

pub fn unlocked_state_to_string(
    state: DeploymentUnlockedState
) -> Option<GString>
[src]

Trait Implementations

impl Clone for Deployment[src]

impl Debug for Deployment[src]

impl Display for Deployment[src]

impl Eq for Deployment[src]

impl Hash for Deployment[src]

impl Ord for Deployment[src]

impl<T: ObjectType> PartialEq<T> for Deployment[src]

impl<T: ObjectType> PartialOrd<T> for Deployment[src]

impl StaticType for Deployment[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ObjectExt for T where
    T: ObjectType
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: SetValue + Send + ToValue + ?Sized
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.