pub struct B2ListPartsQueryParameters {
pub file_id: String,
pub start_part_number: Option<u32>,
pub max_part_count: Option<u16>,
}Fields§
§file_id: StringThe ID returned by b2_start_large_file. This is the file whose parts will be listed.
start_part_number: Option<u32>The first part to return. If there is a part with this number, it will be returned as the first in the list. If not, the returned list will start with the first part number after this one.
max_part_count: Option<u16>The maximum number of parts to return from this call. The default value is 100, and the maximum allowed is 1000.
Implementations§
Source§impl B2ListPartsQueryParameters
impl B2ListPartsQueryParameters
Sourcepub fn builder() -> B2ListPartsQueryParametersBuilder<((), (), ())>
pub fn builder() -> B2ListPartsQueryParametersBuilder<((), (), ())>
Create a builder for building B2ListPartsQueryParameters.
On the builder, call .file_id(...), .start_part_number(...)(optional), .max_part_count(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of B2ListPartsQueryParameters.
Trait Implementations§
Source§impl Clone for B2ListPartsQueryParameters
impl Clone for B2ListPartsQueryParameters
Source§fn clone(&self) -> B2ListPartsQueryParameters
fn clone(&self) -> B2ListPartsQueryParameters
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 Debug for B2ListPartsQueryParameters
impl Debug for B2ListPartsQueryParameters
Source§impl<'de> Deserialize<'de> for B2ListPartsQueryParameters
impl<'de> Deserialize<'de> for B2ListPartsQueryParameters
Source§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
Auto Trait Implementations§
impl Freeze for B2ListPartsQueryParameters
impl RefUnwindSafe for B2ListPartsQueryParameters
impl Send for B2ListPartsQueryParameters
impl Sync for B2ListPartsQueryParameters
impl Unpin for B2ListPartsQueryParameters
impl UnwindSafe for B2ListPartsQueryParameters
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