Struct self_update::backends::s3::ReleaseListBuilder
source · pub struct ReleaseListBuilder { /* private fields */ }
Expand description
ReleaseList
Builder
Implementations§
source§impl ReleaseListBuilder
impl ReleaseListBuilder
sourcepub fn bucket_name(&mut self, name: &str) -> &mut Self
pub fn bucket_name(&mut self, name: &str) -> &mut Self
Set the bucket name, used to build an S3 api url
sourcepub fn asset_prefix(&mut self, prefix: &str) -> &mut Self
pub fn asset_prefix(&mut self, prefix: &str) -> &mut Self
Set the optional asset name prefix, used to filter available assets with a prefix string
sourcepub fn with_target(&mut self, target: &str) -> &mut Self
pub fn with_target(&mut self, target: &str) -> &mut Self
Set the optional arch target
name, used to filter available releases
sourcepub fn build(&self) -> Result<ReleaseList>
pub fn build(&self) -> Result<ReleaseList>
Verify builder args, returning a ReleaseList
Trait Implementations§
source§impl Clone for ReleaseListBuilder
impl Clone for ReleaseListBuilder
source§fn clone(&self) -> ReleaseListBuilder
fn clone(&self) -> ReleaseListBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ReleaseListBuilder
impl RefUnwindSafe for ReleaseListBuilder
impl Send for ReleaseListBuilder
impl Sync for ReleaseListBuilder
impl Unpin for ReleaseListBuilder
impl UnwindSafe for ReleaseListBuilder
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<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more