[−][src]Struct google_games1::EventDefinition
This is a JSON template for an event definition resource.
This type is not used in any activity, and only used as part of another schema.
Fields
is_default_image_url: Option<bool>
Indicates whether the icon image being returned is a default image, or is game-provided.
kind: Option<String>
Uniquely identifies the type of this resource. Value is always the fixed string games#eventDefinition.
display_name: Option<String>
The name to display for the event.
description: Option<String>
Description of what this event represents.
image_url: Option<String>
The base URL for the image that represents the event.
visibility: Option<String>
The visibility of event being tracked in this definition. Possible values are:
- "REVEALED": This event should be visible to all users.
- "HIDDEN": This event should only be shown to users that have recorded this event at least once.
child_events: Option<Vec<EventChild>>
A list of events that are a child of this event.
id: Option<String>
The ID of the event.
Trait Implementations
impl Part for EventDefinition
[src]
impl Default for EventDefinition
[src]
fn default() -> EventDefinition
[src]
impl Clone for EventDefinition
[src]
fn clone(&self) -> EventDefinition
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for EventDefinition
[src]
impl Serialize for EventDefinition
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for EventDefinition
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for EventDefinition
impl Unpin for EventDefinition
impl Sync for EventDefinition
impl UnwindSafe for EventDefinition
impl RefUnwindSafe for EventDefinition
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,