Skip to main content

CClanEventData

Struct CClanEventData 

Source
pub struct CClanEventData {
Show 32 fields pub gid: Option<u64>, pub clan_steamid: Option<u64>, pub event_name: Option<String>, pub event_type: Option<i32>, pub appid: Option<u32>, pub server_address: Option<String>, pub server_password: Option<String>, pub rtime32_start_time: Option<u32>, pub rtime32_end_time: Option<u32>, pub comment_count: Option<i32>, pub creator_steamid: Option<u64>, pub last_update_steamid: Option<u64>, pub event_notes: Option<String>, pub jsondata: Option<String>, pub announcement_body: Option<CCommunityClanAnnouncementInfo>, pub published: Option<bool>, pub hidden: Option<bool>, pub rtime32_visibility_start: Option<u32>, pub rtime32_visibility_end: Option<u32>, pub broadcaster_accountid: Option<u32>, pub follower_count: Option<u32>, pub ignore_count: Option<u32>, pub forum_topic_id: Option<u64>, pub rtime32_last_modified: Option<u32>, pub news_post_gid: Option<u64>, pub rtime_mod_reviewed: Option<u32>, pub featured_app_tagid: Option<u32>, pub referenced_appids: Vec<u32>, pub build_id: Option<u32>, pub build_branch: Option<String>, pub unlisted: Option<bool>, pub rtime_created: Option<u32>,
}

Fields§

§gid: Option<u64>§clan_steamid: Option<u64>§event_name: Option<String>§event_type: Option<i32>§appid: Option<u32>§server_address: Option<String>§server_password: Option<String>§rtime32_start_time: Option<u32>§rtime32_end_time: Option<u32>§comment_count: Option<i32>§creator_steamid: Option<u64>§last_update_steamid: Option<u64>§event_notes: Option<String>§jsondata: Option<String>§announcement_body: Option<CCommunityClanAnnouncementInfo>§published: Option<bool>§hidden: Option<bool>§rtime32_visibility_start: Option<u32>§rtime32_visibility_end: Option<u32>§broadcaster_accountid: Option<u32>§follower_count: Option<u32>§ignore_count: Option<u32>§forum_topic_id: Option<u64>§rtime32_last_modified: Option<u32>§news_post_gid: Option<u64>§rtime_mod_reviewed: Option<u32>§featured_app_tagid: Option<u32>§referenced_appids: Vec<u32>§build_id: Option<u32>§build_branch: Option<String>§unlisted: Option<bool>§rtime_created: Option<u32>

Implementations§

Source§

impl CClanEventData

Source

pub fn gid(&self) -> u64

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

Source

pub fn clan_steamid(&self) -> u64

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

Source

pub fn event_name(&self) -> &str

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

Source

pub fn event_type(&self) -> EProtoClanEventType

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

Source

pub fn set_event_type(&mut self, value: EProtoClanEventType)

Sets event_type to the provided enum value.

Source

pub fn appid(&self) -> u32

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

Source

pub fn server_address(&self) -> &str

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

Source

pub fn server_password(&self) -> &str

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

Source

pub fn rtime32_start_time(&self) -> u32

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

Source

pub fn rtime32_end_time(&self) -> u32

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

Source

pub fn comment_count(&self) -> i32

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

Source

pub fn creator_steamid(&self) -> u64

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

Source

pub fn last_update_steamid(&self) -> u64

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

Source

pub fn event_notes(&self) -> &str

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

Source

pub fn jsondata(&self) -> &str

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

Source

pub fn published(&self) -> bool

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

Source

pub fn hidden(&self) -> bool

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

Source

pub fn rtime32_visibility_start(&self) -> u32

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

Source

pub fn rtime32_visibility_end(&self) -> u32

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

Source

pub fn broadcaster_accountid(&self) -> u32

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

Source

pub fn follower_count(&self) -> u32

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

Source

pub fn ignore_count(&self) -> u32

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

Source

pub fn forum_topic_id(&self) -> u64

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

Source

pub fn rtime32_last_modified(&self) -> u32

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

Source

pub fn news_post_gid(&self) -> u64

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

Source

pub fn rtime_mod_reviewed(&self) -> u32

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

Source

pub fn featured_app_tagid(&self) -> u32

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

Source

pub fn build_id(&self) -> u32

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

Source

pub fn build_branch(&self) -> &str

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

Source

pub fn unlisted(&self) -> bool

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

Source

pub fn rtime_created(&self) -> u32

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

Trait Implementations§

Source§

impl Clone for CClanEventData

Source§

fn clone(&self) -> CClanEventData

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 CClanEventData

Source§

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

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

impl Default for CClanEventData

Source§

fn default() -> Self

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

impl Eq for CClanEventData

Source§

impl Hash for CClanEventData

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 CClanEventData

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 CClanEventData

Source§

fn eq(&self, other: &CClanEventData) -> 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 CClanEventData

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