Struct fastly_api::models::event_attributes::EventAttributes   
source · pub struct EventAttributes {
    pub admin: Option<bool>,
    pub created_at: Option<String>,
    pub customer_id: Option<Box<String>>,
    pub description: Option<String>,
    pub event_type: Option<EventType>,
    pub ip: Option<String>,
    pub metadata: Option<HashMap<String, Value>>,
    pub service_id: Option<Box<String>>,
    pub user_id: Option<Box<String>>,
    pub token_id: Option<Box<String>>,
}Fields§
§admin: Option<bool>Indicates if event was performed by Fastly.
created_at: Option<String>Date and time in ISO 8601 format.
customer_id: Option<Box<String>>§description: Option<String>Description of the event.
event_type: Option<EventType>Type of event. Can be used with filter[event_type]
ip: Option<String>IP addresses that the event was requested from.
metadata: Option<HashMap<String, Value>>Hash of key value pairs of additional information.
service_id: Option<Box<String>>§user_id: Option<Box<String>>§token_id: Option<Box<String>>Implementations§
source§impl EventAttributes
 
impl EventAttributes
pub fn new() -> EventAttributes
Trait Implementations§
source§impl Clone for EventAttributes
 
impl Clone for EventAttributes
source§fn clone(&self) -> EventAttributes
 
fn clone(&self) -> EventAttributes
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for EventAttributes
 
impl Debug for EventAttributes
source§impl Default for EventAttributes
 
impl Default for EventAttributes
source§fn default() -> EventAttributes
 
fn default() -> EventAttributes
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EventAttributes
 
impl<'de> Deserialize<'de> for EventAttributes
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for EventAttributes
 
impl PartialEq for EventAttributes
source§fn eq(&self, other: &EventAttributes) -> bool
 
fn eq(&self, other: &EventAttributes) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for EventAttributes
 
impl Serialize for EventAttributes
impl StructuralPartialEq for EventAttributes
Auto Trait Implementations§
impl Freeze for EventAttributes
impl RefUnwindSafe for EventAttributes
impl Send for EventAttributes
impl Sync for EventAttributes
impl Unpin for EventAttributes
impl UnwindSafe for EventAttributes
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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)