Skip to main content

CMsgProtoBufHeader

Struct CMsgProtoBufHeader 

Source
pub struct CMsgProtoBufHeader {
Show 35 fields pub steamid: Option<u64>, pub client_sessionid: Option<i32>, pub routing_appid: Option<u32>, pub jobid_source: Option<u64>, pub jobid_target: Option<u64>, pub target_job_name: Option<String>, pub seq_num: Option<i32>, pub eresult: Option<i32>, pub error_message: Option<String>, pub auth_account_flags: Option<u32>, pub token_source: Option<u32>, pub admin_spoofing_user: Option<bool>, pub transport_error: Option<i32>, pub messageid: Option<u64>, pub publisher_group_id: Option<u32>, pub sysid: Option<u32>, pub webapi_key_id: Option<u32>, pub is_from_external_source: Option<bool>, pub forward_to_sysid: Vec<u32>, pub cm_sysid: Option<u32>, pub launcher_type: Option<u32>, pub realm: Option<u32>, pub timeout_ms: Option<i32>, pub debug_source: Option<String>, pub debug_source_string_index: Option<u32>, pub token_id: Option<u64>, pub routing_gc: Option<CMsgGcRoutingProtoBufHeader>, pub session_disposition: Option<i32>, pub wg_token: Option<String>, pub webui_auth_key: Option<String>, pub exclude_client_sessionids: Vec<i32>, pub admin_request_spoofing_steamid: Option<u64>, pub is_valveds: Option<bool>, pub trace_tag: Option<u64>, pub ip_addr: Option<IpAddr>,
}

Fields§

§steamid: Option<u64>§client_sessionid: Option<i32>§routing_appid: Option<u32>§jobid_source: Option<u64>§jobid_target: Option<u64>§target_job_name: Option<String>§seq_num: Option<i32>§eresult: Option<i32>§error_message: Option<String>§auth_account_flags: Option<u32>§token_source: Option<u32>§admin_spoofing_user: Option<bool>§transport_error: Option<i32>§messageid: Option<u64>§publisher_group_id: Option<u32>§sysid: Option<u32>§webapi_key_id: Option<u32>§is_from_external_source: Option<bool>§forward_to_sysid: Vec<u32>§cm_sysid: Option<u32>§launcher_type: Option<u32>§realm: Option<u32>§timeout_ms: Option<i32>§debug_source: Option<String>§debug_source_string_index: Option<u32>§token_id: Option<u64>§routing_gc: Option<CMsgGcRoutingProtoBufHeader>§session_disposition: Option<i32>§wg_token: Option<String>§webui_auth_key: Option<String>§exclude_client_sessionids: Vec<i32>§admin_request_spoofing_steamid: Option<u64>§is_valveds: Option<bool>§trace_tag: Option<u64>§ip_addr: Option<IpAddr>

Implementations§

Source§

impl CMsgProtoBufHeader

Source

pub fn steamid(&self) -> u64

Returns the value of steamid, or the default value if steamid is unset.

Source

pub fn client_sessionid(&self) -> i32

Returns the value of client_sessionid, or the default value if client_sessionid is unset.

Source

pub fn routing_appid(&self) -> u32

Returns the value of routing_appid, or the default value if routing_appid is unset.

Source

pub fn jobid_source(&self) -> u64

Returns the value of jobid_source, or the default value if jobid_source is unset.

Source

pub fn jobid_target(&self) -> u64

Returns the value of jobid_target, or the default value if jobid_target is unset.

Source

pub fn target_job_name(&self) -> &str

Returns the value of target_job_name, or the default value if target_job_name is unset.

Source

pub fn eresult(&self) -> i32

Returns the value of eresult, or the default value if eresult is unset.

Source

pub fn error_message(&self) -> &str

Returns the value of error_message, or the default value if error_message is unset.

Source

pub fn auth_account_flags(&self) -> u32

Returns the value of auth_account_flags, or the default value if auth_account_flags is unset.

Source

pub fn transport_error(&self) -> i32

Returns the value of transport_error, or the default value if transport_error is unset.

Source

pub fn messageid(&self) -> u64

Returns the value of messageid, or the default value if messageid is unset.

Source

pub fn publisher_group_id(&self) -> u32

Returns the value of publisher_group_id, or the default value if publisher_group_id is unset.

Source

pub fn sysid(&self) -> u32

Returns the value of sysid, or the default value if sysid is unset.

Source

pub fn token_source(&self) -> u32

Returns the value of token_source, or the default value if token_source is unset.

Source

pub fn admin_spoofing_user(&self) -> bool

Returns the value of admin_spoofing_user, or the default value if admin_spoofing_user is unset.

Source

pub fn seq_num(&self) -> i32

Returns the value of seq_num, or the default value if seq_num is unset.

Source

pub fn webapi_key_id(&self) -> u32

Returns the value of webapi_key_id, or the default value if webapi_key_id is unset.

Source

pub fn is_from_external_source(&self) -> bool

Returns the value of is_from_external_source, or the default value if is_from_external_source is unset.

Source

pub fn cm_sysid(&self) -> u32

Returns the value of cm_sysid, or the default value if cm_sysid is unset.

Source

pub fn launcher_type(&self) -> u32

Returns the value of launcher_type, or the default value if launcher_type is unset.

Source

pub fn realm(&self) -> u32

Returns the value of realm, or the default value if realm is unset.

Source

pub fn timeout_ms(&self) -> i32

Returns the value of timeout_ms, or the default value if timeout_ms is unset.

Source

pub fn debug_source(&self) -> &str

Returns the value of debug_source, or the default value if debug_source is unset.

Source

pub fn debug_source_string_index(&self) -> u32

Returns the value of debug_source_string_index, or the default value if debug_source_string_index is unset.

Source

pub fn token_id(&self) -> u64

Returns the value of token_id, or the default value if token_id is unset.

Source

pub fn session_disposition(&self) -> ESessionDisposition

Returns the enum value of session_disposition, or the default if the field is unset or set to an invalid enum value.

Source

pub fn set_session_disposition(&mut self, value: ESessionDisposition)

Sets session_disposition to the provided enum value.

Source

pub fn wg_token(&self) -> &str

Returns the value of wg_token, or the default value if wg_token is unset.

Source

pub fn webui_auth_key(&self) -> &str

Returns the value of webui_auth_key, or the default value if webui_auth_key is unset.

Source

pub fn admin_request_spoofing_steamid(&self) -> u64

Returns the value of admin_request_spoofing_steamid, or the default value if admin_request_spoofing_steamid is unset.

Source

pub fn is_valveds(&self) -> bool

Returns the value of is_valveds, or the default value if is_valveds is unset.

Source

pub fn trace_tag(&self) -> u64

Returns the value of trace_tag, or the default value if trace_tag is unset.

Trait Implementations§

Source§

impl Clone for CMsgProtoBufHeader

Source§

fn clone(&self) -> CMsgProtoBufHeader

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CMsgProtoBufHeader

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for CMsgProtoBufHeader

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Eq for CMsgProtoBufHeader

Source§

impl Hash for CMsgProtoBufHeader

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Message for CMsgProtoBufHeader

Source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
Source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
Source§

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,

Encodes the message to a newly allocated buffer.
Source§

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,

Encodes the message with a length-delimiter to a newly allocated buffer.
Source§

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,

Decodes a length-delimited instance of the message from the buffer.
Source§

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 more
Source§

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 CMsgProtoBufHeader

Source§

fn eq(&self, other: &CMsgProtoBufHeader) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for CMsgProtoBufHeader

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more