pub struct CFriendMessagesResolveReportRequest {
pub steamid_from: Option<u64>,
pub steamid_to: Option<u64>,
pub subject_group_id: Option<u64>,
pub subject_id: Option<u64>,
pub resolution: Option<i32>,
pub reason: Option<i32>,
pub skip_lock: Option<bool>,
}Fields§
§steamid_from: Option<u64>§steamid_to: Option<u64>§subject_group_id: Option<u64>§subject_id: Option<u64>§resolution: Option<i32>§reason: Option<i32>§skip_lock: Option<bool>Implementations§
Source§impl CFriendMessagesResolveReportRequest
impl CFriendMessagesResolveReportRequest
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 subject_group_id(&self) -> u64
pub fn subject_group_id(&self) -> u64
Returns the value of subject_group_id, or the default value if subject_group_id is unset.
Sourcepub fn subject_id(&self) -> u64
pub fn subject_id(&self) -> u64
Returns the value of subject_id, or the default value if subject_id is unset.
Sourcepub fn resolution(&self) -> EContentReportResolution
pub fn resolution(&self) -> EContentReportResolution
Returns the enum value of resolution, or the default if the field is unset or set to an invalid enum value.
Sourcepub fn set_resolution(&mut self, value: EContentReportResolution)
pub fn set_resolution(&mut self, value: EContentReportResolution)
Sets resolution to the provided enum value.
Sourcepub fn reason(&self) -> EContentReportReason
pub fn reason(&self) -> EContentReportReason
Returns the enum value of reason, or the default if the field is unset or set to an invalid enum value.
Sourcepub fn set_reason(&mut self, value: EContentReportReason)
pub fn set_reason(&mut self, value: EContentReportReason)
Sets reason to the provided enum value.
Trait Implementations§
Source§impl Clone for CFriendMessagesResolveReportRequest
impl Clone for CFriendMessagesResolveReportRequest
Source§fn clone(&self) -> CFriendMessagesResolveReportRequest
fn clone(&self) -> CFriendMessagesResolveReportRequest
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 Copy for CFriendMessagesResolveReportRequest
impl Eq for CFriendMessagesResolveReportRequest
Source§impl Message for CFriendMessagesResolveReportRequest
impl Message for CFriendMessagesResolveReportRequest
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 CFriendMessagesResolveReportRequest
impl PartialEq for CFriendMessagesResolveReportRequest
Source§fn eq(&self, other: &CFriendMessagesResolveReportRequest) -> bool
fn eq(&self, other: &CFriendMessagesResolveReportRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CFriendMessagesResolveReportRequest
Auto Trait Implementations§
impl Freeze for CFriendMessagesResolveReportRequest
impl RefUnwindSafe for CFriendMessagesResolveReportRequest
impl Send for CFriendMessagesResolveReportRequest
impl Sync for CFriendMessagesResolveReportRequest
impl Unpin for CFriendMessagesResolveReportRequest
impl UnsafeUnpin for CFriendMessagesResolveReportRequest
impl UnwindSafe for CFriendMessagesResolveReportRequest
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