Struct ffsend_api::action::params::ParamsDataBuilder
source · pub struct ParamsDataBuilder { /* private fields */ }
Expand description
Builder for ParamsData
.
Implementations
sourceimpl ParamsDataBuilder
impl ParamsDataBuilder
sourcepub fn download_limit(&mut self, value: Option<u8>) -> &mut Self
pub fn download_limit(&mut self, value: Option<u8>) -> &mut Self
The number of times this file may be downloaded.
This value must be in the (0,20)
bounds, as enforced by Send servers.
Trait Implementations
sourceimpl Clone for ParamsDataBuilder
impl Clone for ParamsDataBuilder
sourcefn clone(&self) -> ParamsDataBuilder
fn clone(&self) -> ParamsDataBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for ParamsDataBuilder
impl Default for ParamsDataBuilder
sourcefn default() -> ParamsDataBuilder
fn default() -> ParamsDataBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ParamsDataBuilder
impl Send for ParamsDataBuilder
impl Sync for ParamsDataBuilder
impl Unpin for ParamsDataBuilder
impl UnwindSafe for ParamsDataBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more