pub struct CreateUserEvent {
pub capabilities: Option<Vec<String>>,
pub comment: Option<String>,
pub description: Option<String>,
pub event_source: Option<String>,
pub event_type: String,
pub item_name: String,
pub item_type: String,
pub json: Option<bool>,
pub request_access_ttl: Option<i64>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Fields§
§capabilities: Option<Vec<String>>List of the required capabilities options: [read, update, delete,sra_transparently_connect]. Relevant only for request-access event types
comment: Option<String>Deprecated - use description
description: Option<String>Description of the object
event_source: Option<String>§event_type: String§item_name: StringEventItemName Event item name
item_type: StringEventItemType Event item type
json: Option<bool>Set output format to JSON
request_access_ttl: Option<i64>For how long to grant the requested access, in minutes
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Trait Implementations§
Source§impl Clone for CreateUserEvent
impl Clone for CreateUserEvent
Source§fn clone(&self) -> CreateUserEvent
fn clone(&self) -> CreateUserEvent
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 moreSource§impl Debug for CreateUserEvent
impl Debug for CreateUserEvent
Source§impl Default for CreateUserEvent
impl Default for CreateUserEvent
Source§fn default() -> CreateUserEvent
fn default() -> CreateUserEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateUserEvent
impl<'de> Deserialize<'de> for CreateUserEvent
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 CreateUserEvent
impl PartialEq for CreateUserEvent
Source§fn eq(&self, other: &CreateUserEvent) -> bool
fn eq(&self, other: &CreateUserEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CreateUserEvent
impl Serialize for CreateUserEvent
impl StructuralPartialEq for CreateUserEvent
Auto Trait Implementations§
impl Freeze for CreateUserEvent
impl RefUnwindSafe for CreateUserEvent
impl Send for CreateUserEvent
impl Sync for CreateUserEvent
impl Unpin for CreateUserEvent
impl UnsafeUnpin for CreateUserEvent
impl UnwindSafe for CreateUserEvent
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