[][src]Struct tauri_updater::updater::github::ReleaseListBuilder

pub struct ReleaseListBuilder { /* fields omitted */ }

ReleaseList Builder

Methods

impl ReleaseListBuilder[src]

pub fn repo_owner(&mut self, owner: &str) -> &mut Self[src]

Set the repo owner, used to build a github api url

pub fn repo_name(&mut self, name: &str) -> &mut Self[src]

Set the repo name, used to build a github api url

pub fn target(&mut self, target: &str) -> &mut Self[src]

Set the optional arch target name, used to filter available releases

pub fn build(&self) -> Result<ReleaseList>[src]

Verify builder args, returning a ReleaseList

Trait Implementations

impl Clone for ReleaseListBuilder[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,