Struct lib_remotebuild_rs::aur::AURBuild[][src]

pub struct AURBuild<'a> {
    pub librb: &'a LibRb,
    pub args: HashMap<String, String>,
    pub upload_type: UploadType,
    pub disable_ccache: bool,
}

Stores data relevant for AUR build jobs

Fields

librb: &'a LibRbargs: HashMap<String, String>upload_type: UploadTypedisable_ccache: bool

Implementations

impl<'a> AURBuild<'a>[src]

pub fn without_ccache(self) -> Self[src]

Turn of ccache usage

pub fn with_dmanager(
    self,
    username: String,
    token: String,
    host: String,
    namespace: String
) -> Self
[src]

Add dmanager upload data to the job

pub async fn create_job(self) -> Result<RequestResult<AddJob>, Error>[src]

Create a new AUR build job

Auto Trait Implementations

impl<'a> RefUnwindSafe for AURBuild<'a>[src]

impl<'a> Send for AURBuild<'a>[src]

impl<'a> Sync for AURBuild<'a>[src]

impl<'a> Unpin for AURBuild<'a>[src]

impl<'a> UnwindSafe for AURBuild<'a>[src]

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<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.