pub struct ParamsDataBuilder { /* private fields */ }Expand description
Builder for ParamsData.
Implementations§
Source§impl 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 within a specific range, as enforced by Send servers.
Sourcepub fn expiry_time(&mut self, value: Option<usize>) -> &mut Self
pub fn expiry_time(&mut self, value: Option<usize>) -> &mut Self
The time in seconds after when the file expires. This value must be within a specific range, as enforced by Send servers. Only used with Send v3.
Trait Implementations§
Source§impl Clone for ParamsDataBuilder
impl Clone for ParamsDataBuilder
Source§fn clone(&self) -> ParamsDataBuilder
fn clone(&self) -> ParamsDataBuilder
Returns a duplicate 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 moreSource§impl Default for ParamsDataBuilder
impl Default for ParamsDataBuilder
Source§fn default() -> ParamsDataBuilder
fn default() -> ParamsDataBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParamsDataBuilder
impl RefUnwindSafe for ParamsDataBuilder
impl Send for ParamsDataBuilder
impl Sync for ParamsDataBuilder
impl Unpin for ParamsDataBuilder
impl UnwindSafe for ParamsDataBuilder
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