pub struct DiscussInfo {
pub discuss_uin: Option<i64>,
pub discuss_type: Option<i32>,
pub discuss_info_seq: Option<i64>,
pub discuss_remark: Option<Vec<u8>>,
pub discuss_name: Option<Vec<u8>>,
}Fields
discuss_uin: Option<i64>discuss_type: Option<i32>discuss_info_seq: Option<i64>discuss_remark: Option<Vec<u8>>discuss_name: Option<Vec<u8>>Implementations
sourceimpl DiscussInfo
impl DiscussInfo
sourcepub fn discuss_uin(&self) -> i64
pub fn discuss_uin(&self) -> i64
Returns the value of discuss_uin, or the default value if discuss_uin is unset.
sourcepub fn discuss_type(&self) -> i32
pub fn discuss_type(&self) -> i32
Returns the value of discuss_type, or the default value if discuss_type is unset.
sourcepub fn discuss_info_seq(&self) -> i64
pub fn discuss_info_seq(&self) -> i64
Returns the value of discuss_info_seq, or the default value if discuss_info_seq is unset.
Trait Implementations
sourceimpl Clone for DiscussInfo
impl Clone for DiscussInfo
sourcefn clone(&self) -> DiscussInfo
fn clone(&self) -> DiscussInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DiscussInfo
impl Debug for DiscussInfo
sourceimpl Default for DiscussInfo
impl Default for DiscussInfo
sourceimpl Message for DiscussInfo
impl Message for DiscussInfo
sourcefn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
sourcefn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
Encodes the message to a buffer. Read more
sourcefn encode_to_vec(&self) -> Vec<u8, Global>
fn encode_to_vec(&self) -> Vec<u8, Global>
Encodes the message to a newly allocated buffer.
sourcefn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
Encodes the message with a length-delimiter to a buffer. Read more
sourcefn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>
fn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>
Encodes the message with a length-delimiter to a newly allocated buffer.
sourcefn 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,
Decodes an instance of the message from a buffer. Read more
sourcefn 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,
Decodes a length-delimited instance of the message from the buffer.
sourcefn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self. Read more
sourcefn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
Decodes a length-delimited instance of the message from buffer, and
merges it into self. Read more
sourceimpl PartialEq<DiscussInfo> for DiscussInfo
impl PartialEq<DiscussInfo> for DiscussInfo
sourcefn eq(&self, other: &DiscussInfo) -> bool
fn eq(&self, other: &DiscussInfo) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DiscussInfo) -> bool
fn ne(&self, other: &DiscussInfo) -> bool
This method tests for !=.
impl StructuralPartialEq for DiscussInfo
Auto Trait Implementations
impl RefUnwindSafe for DiscussInfo
impl Send for DiscussInfo
impl Sync for DiscussInfo
impl Unpin for DiscussInfo
impl UnwindSafe for DiscussInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more