Struct raze::api::B2GetDownloadAuthParams [−][src]
pub struct B2GetDownloadAuthParams { pub bucket_id: String, pub file_name_prefix: String, pub valid_duration_in_seconds: u32, }
Expand description
Parameters for the request
The B2Auth token must have the ‘shareFiles’ capability The valid duration must be in the range 1-604800 (1 second to 1 week)
Fields
bucket_id: String
file_name_prefix: String
valid_duration_in_seconds: u32
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for B2GetDownloadAuthParams
impl Send for B2GetDownloadAuthParams
impl Sync for B2GetDownloadAuthParams
impl Unpin for B2GetDownloadAuthParams
impl UnwindSafe for B2GetDownloadAuthParams
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V