pub struct CFriendMessagesReportMessageRequest {
pub steamid_from: Option<u64>,
pub steamid_to: Option<u64>,
pub timestamp: Option<u32>,
pub ordinal: Option<u32>,
pub report_reason: Option<i32>,
pub report_text: Option<String>,
pub language: Option<String>,
}Fields§
§steamid_from: Option<u64>§steamid_to: Option<u64>§timestamp: Option<u32>§ordinal: Option<u32>§report_reason: Option<i32>§report_text: Option<String>§language: Option<String>Implementations§
Source§impl CFriendMessagesReportMessageRequest
impl CFriendMessagesReportMessageRequest
Sourcepub fn steamid_from(&self) -> u64
pub fn steamid_from(&self) -> u64
Returns the value of steamid_from, or the default value if steamid_from is unset.
Sourcepub fn steamid_to(&self) -> u64
pub fn steamid_to(&self) -> u64
Returns the value of steamid_to, or the default value if steamid_to is unset.
Sourcepub fn timestamp(&self) -> u32
pub fn timestamp(&self) -> u32
Returns the value of timestamp, or the default value if timestamp is unset.
Sourcepub fn ordinal(&self) -> u32
pub fn ordinal(&self) -> u32
Returns the value of ordinal, or the default value if ordinal is unset.
Sourcepub fn report_reason(&self) -> EContentReportReason
pub fn report_reason(&self) -> EContentReportReason
Returns the enum value of report_reason, or the default if the field is unset or set to an invalid enum value.
Sourcepub fn set_report_reason(&mut self, value: EContentReportReason)
pub fn set_report_reason(&mut self, value: EContentReportReason)
Sets report_reason to the provided enum value.
Sourcepub fn report_text(&self) -> &str
pub fn report_text(&self) -> &str
Returns the value of report_text, or the default value if report_text is unset.
Trait Implementations§
Source§impl Clone for CFriendMessagesReportMessageRequest
impl Clone for CFriendMessagesReportMessageRequest
Source§fn clone(&self) -> CFriendMessagesReportMessageRequest
fn clone(&self) -> CFriendMessagesReportMessageRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for CFriendMessagesReportMessageRequest
Source§impl Message for CFriendMessagesReportMessageRequest
impl Message for CFriendMessagesReportMessageRequest
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 CFriendMessagesReportMessageRequest
impl PartialEq for CFriendMessagesReportMessageRequest
Source§fn eq(&self, other: &CFriendMessagesReportMessageRequest) -> bool
fn eq(&self, other: &CFriendMessagesReportMessageRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CFriendMessagesReportMessageRequest
Auto Trait Implementations§
impl Freeze for CFriendMessagesReportMessageRequest
impl RefUnwindSafe for CFriendMessagesReportMessageRequest
impl Send for CFriendMessagesReportMessageRequest
impl Sync for CFriendMessagesReportMessageRequest
impl Unpin for CFriendMessagesReportMessageRequest
impl UnsafeUnpin for CFriendMessagesReportMessageRequest
impl UnwindSafe for CFriendMessagesReportMessageRequest
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