pub struct GetCashLogRsp {
pub result: Option<i32>,
pub err_msg: Option<String>,
pub monthly_log_list: Vec<MonthlyLog>,
pub has_more: Option<bool>,
pub next_log_id: Option<String>,
}Expand description
获取资金流水 - 回包
Fields§
§result: Option<i32>成功0,失败其他
err_msg: Option<String>错误信息
monthly_log_list: Vec<MonthlyLog>按月流水
has_more: Option<bool>是否还有更多
next_log_id: Option<String>下次请求的log_id,当has_more为True时有效
Implementations§
Source§impl GetCashLogRsp
impl GetCashLogRsp
Sourcepub fn result(&self) -> i32
pub fn result(&self) -> i32
Returns the value of result, or the default value if result is unset.
Sourcepub fn err_msg(&self) -> &str
pub fn err_msg(&self) -> &str
Returns the value of err_msg, or the default value if err_msg is unset.
Sourcepub fn has_more(&self) -> bool
pub fn has_more(&self) -> bool
Returns the value of has_more, or the default value if has_more is unset.
Sourcepub fn next_log_id(&self) -> &str
pub fn next_log_id(&self) -> &str
Returns the value of next_log_id, or the default value if next_log_id is unset.
Trait Implementations§
Source§impl Clone for GetCashLogRsp
impl Clone for GetCashLogRsp
Source§fn clone(&self) -> GetCashLogRsp
fn clone(&self) -> GetCashLogRsp
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 GetCashLogRsp
impl Debug for GetCashLogRsp
Source§impl Default for GetCashLogRsp
impl Default for GetCashLogRsp
Source§impl Message for GetCashLogRsp
impl Message for GetCashLogRsp
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for GetCashLogRsp
impl PartialEq for GetCashLogRsp
impl StructuralPartialEq for GetCashLogRsp
Auto Trait Implementations§
impl Freeze for GetCashLogRsp
impl RefUnwindSafe for GetCashLogRsp
impl Send for GetCashLogRsp
impl Sync for GetCashLogRsp
impl Unpin for GetCashLogRsp
impl UnsafeUnpin for GetCashLogRsp
impl UnwindSafe for GetCashLogRsp
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