Struct ricq_core::pb::oidb::UploadFileReqBody
source · pub struct UploadFileReqBody {
pub group_code: Option<i64>,
pub app_id: Option<i32>,
pub bus_id: Option<i32>,
pub entrance: Option<i32>,
pub parent_folder_id: Option<String>,
pub file_name: Option<String>,
pub local_path: Option<String>,
pub int64_file_size: Option<i64>,
pub sha: Option<Vec<u8>>,
pub sha3: Option<Vec<u8>>,
pub md5: Option<Vec<u8>>,
pub support_multi_upload: Option<bool>,
}Fields§
§group_code: Option<i64>§app_id: Option<i32>§bus_id: Option<i32>§entrance: Option<i32>§parent_folder_id: Option<String>§file_name: Option<String>§local_path: Option<String>§int64_file_size: Option<i64>§sha: Option<Vec<u8>>§sha3: Option<Vec<u8>>§md5: Option<Vec<u8>>§support_multi_upload: Option<bool>Implementations§
source§impl UploadFileReqBody
impl UploadFileReqBody
sourcepub fn group_code(&self) -> i64
pub fn group_code(&self) -> i64
Returns the value of group_code, or the default value if group_code is unset.
sourcepub fn app_id(&self) -> i32
pub fn app_id(&self) -> i32
Returns the value of app_id, or the default value if app_id is unset.
sourcepub fn bus_id(&self) -> i32
pub fn bus_id(&self) -> i32
Returns the value of bus_id, or the default value if bus_id is unset.
sourcepub fn entrance(&self) -> i32
pub fn entrance(&self) -> i32
Returns the value of entrance, or the default value if entrance is unset.
sourcepub fn parent_folder_id(&self) -> &str
pub fn parent_folder_id(&self) -> &str
Returns the value of parent_folder_id, or the default value if parent_folder_id is unset.
sourcepub fn file_name(&self) -> &str
pub fn file_name(&self) -> &str
Returns the value of file_name, or the default value if file_name is unset.
sourcepub fn local_path(&self) -> &str
pub fn local_path(&self) -> &str
Returns the value of local_path, or the default value if local_path is unset.
sourcepub fn int64_file_size(&self) -> i64
pub fn int64_file_size(&self) -> i64
Returns the value of int64_file_size, or the default value if int64_file_size is unset.
sourcepub fn sha3(&self) -> &[u8] ⓘ
pub fn sha3(&self) -> &[u8] ⓘ
Returns the value of sha3, or the default value if sha3 is unset.
sourcepub fn support_multi_upload(&self) -> bool
pub fn support_multi_upload(&self) -> bool
Returns the value of support_multi_upload, or the default value if support_multi_upload is unset.
Trait Implementations§
source§impl Clone for UploadFileReqBody
impl Clone for UploadFileReqBody
source§fn clone(&self) -> UploadFileReqBody
fn clone(&self) -> UploadFileReqBody
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UploadFileReqBody
impl Debug for UploadFileReqBody
source§impl Default for UploadFileReqBody
impl Default for UploadFileReqBody
source§impl Message for UploadFileReqBody
impl Message for UploadFileReqBody
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8, Global>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8, Global>where
Self: Sized,
source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>where
Self: Sized,
source§fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self. Read more