Struct ricq_core::pb::oidb::UploadFileRspBody
source · pub struct UploadFileRspBody {Show 13 fields
pub ret_code: Option<i32>,
pub ret_msg: Option<String>,
pub client_wording: Option<String>,
pub upload_ip: Option<String>,
pub server_dns: Option<String>,
pub bus_id: Option<i32>,
pub file_id: Option<String>,
pub file_key: Option<Vec<u8>>,
pub check_key: Option<Vec<u8>>,
pub bool_file_exist: Option<bool>,
pub upload_ip_lan_v4: Vec<String>,
pub upload_ip_lan_v6: Vec<String>,
pub upload_port: Option<i32>,
}Fields§
§ret_code: Option<i32>§ret_msg: Option<String>§client_wording: Option<String>§upload_ip: Option<String>§server_dns: Option<String>§bus_id: Option<i32>§file_id: Option<String>§file_key: Option<Vec<u8>>§check_key: Option<Vec<u8>>§bool_file_exist: Option<bool>§upload_ip_lan_v4: Vec<String>§upload_ip_lan_v6: Vec<String>§upload_port: Option<i32>Implementations§
source§impl UploadFileRspBody
impl UploadFileRspBody
sourcepub fn ret_code(&self) -> i32
pub fn ret_code(&self) -> i32
Returns the value of ret_code, or the default value if ret_code is unset.
sourcepub fn ret_msg(&self) -> &str
pub fn ret_msg(&self) -> &str
Returns the value of ret_msg, or the default value if ret_msg is unset.
sourcepub fn client_wording(&self) -> &str
pub fn client_wording(&self) -> &str
Returns the value of client_wording, or the default value if client_wording is unset.
sourcepub fn upload_ip(&self) -> &str
pub fn upload_ip(&self) -> &str
Returns the value of upload_ip, or the default value if upload_ip is unset.
sourcepub fn server_dns(&self) -> &str
pub fn server_dns(&self) -> &str
Returns the value of server_dns, or the default value if server_dns 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 file_id(&self) -> &str
pub fn file_id(&self) -> &str
Returns the value of file_id, or the default value if file_id is unset.
sourcepub fn file_key(&self) -> &[u8] ⓘ
pub fn file_key(&self) -> &[u8] ⓘ
Returns the value of file_key, or the default value if file_key is unset.
sourcepub fn check_key(&self) -> &[u8] ⓘ
pub fn check_key(&self) -> &[u8] ⓘ
Returns the value of check_key, or the default value if check_key is unset.
sourcepub fn bool_file_exist(&self) -> bool
pub fn bool_file_exist(&self) -> bool
Returns the value of bool_file_exist, or the default value if bool_file_exist is unset.
sourcepub fn upload_port(&self) -> i32
pub fn upload_port(&self) -> i32
Returns the value of upload_port, or the default value if upload_port is unset.
Trait Implementations§
source§impl Clone for UploadFileRspBody
impl Clone for UploadFileRspBody
source§fn clone(&self) -> UploadFileRspBody
fn clone(&self) -> UploadFileRspBody
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UploadFileRspBody
impl Debug for UploadFileRspBody
source§impl Default for UploadFileRspBody
impl Default for UploadFileRspBody
source§impl Message for UploadFileRspBody
impl Message for UploadFileRspBody
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