Struct ricq_core::pb::oidb::DownloadFileRspBody
source · pub struct DownloadFileRspBody {
pub ret_code: Option<i32>,
pub ret_msg: Option<String>,
pub client_wording: Option<String>,
pub download_ip: Option<String>,
pub download_dns: Option<Vec<u8>>,
pub download_url: Option<Vec<u8>>,
pub sha: Option<Vec<u8>>,
pub sha3: Option<Vec<u8>>,
pub md5: Option<Vec<u8>>,
pub cookie_val: Option<Vec<u8>>,
pub save_file_name: Option<String>,
pub preview_port: Option<i32>,
}Fields§
§ret_code: Option<i32>§ret_msg: Option<String>§client_wording: Option<String>§download_ip: Option<String>§download_dns: Option<Vec<u8>>§download_url: Option<Vec<u8>>§sha: Option<Vec<u8>>§sha3: Option<Vec<u8>>§md5: Option<Vec<u8>>§save_file_name: Option<String>§preview_port: Option<i32>Implementations§
source§impl DownloadFileRspBody
impl DownloadFileRspBody
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 download_ip(&self) -> &str
pub fn download_ip(&self) -> &str
Returns the value of download_ip, or the default value if download_ip is unset.
sourcepub fn download_dns(&self) -> &[u8] ⓘ
pub fn download_dns(&self) -> &[u8] ⓘ
Returns the value of download_dns, or the default value if download_dns is unset.
sourcepub fn download_url(&self) -> &[u8] ⓘ
pub fn download_url(&self) -> &[u8] ⓘ
Returns the value of download_url, or the default value if download_url 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.
Returns the value of cookie_val, or the default value if cookie_val is unset.
sourcepub fn save_file_name(&self) -> &str
pub fn save_file_name(&self) -> &str
Returns the value of save_file_name, or the default value if save_file_name is unset.
sourcepub fn preview_port(&self) -> i32
pub fn preview_port(&self) -> i32
Returns the value of preview_port, or the default value if preview_port is unset.
Trait Implementations§
source§impl Clone for DownloadFileRspBody
impl Clone for DownloadFileRspBody
source§fn clone(&self) -> DownloadFileRspBody
fn clone(&self) -> DownloadFileRspBody
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DownloadFileRspBody
impl Debug for DownloadFileRspBody
source§impl Default for DownloadFileRspBody
impl Default for DownloadFileRspBody
source§impl Message for DownloadFileRspBody
impl Message for DownloadFileRspBody
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