pub struct GetEventForwarder {
pub json: Option<bool>,
pub name: String,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
GetEventForwarder : getEventForwarder is a command that creates a new event forwarder [Deprecated - please use event-forwarder-get command]
Fields§
§json: Option<bool>Set output format to JSON
name: StringEventForwarder name
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl GetEventForwarder
impl GetEventForwarder
Sourcepub fn new(name: String) -> GetEventForwarder
pub fn new(name: String) -> GetEventForwarder
getEventForwarder is a command that creates a new event forwarder [Deprecated - please use event-forwarder-get command]
Trait Implementations§
Source§impl Clone for GetEventForwarder
impl Clone for GetEventForwarder
Source§fn clone(&self) -> GetEventForwarder
fn clone(&self) -> GetEventForwarder
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 GetEventForwarder
impl Debug for GetEventForwarder
Source§impl Default for GetEventForwarder
impl Default for GetEventForwarder
Source§fn default() -> GetEventForwarder
fn default() -> GetEventForwarder
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetEventForwarder
impl<'de> Deserialize<'de> for GetEventForwarder
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 GetEventForwarder
impl PartialEq for GetEventForwarder
Source§fn eq(&self, other: &GetEventForwarder) -> bool
fn eq(&self, other: &GetEventForwarder) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GetEventForwarder
impl Serialize for GetEventForwarder
impl StructuralPartialEq for GetEventForwarder
Auto Trait Implementations§
impl Freeze for GetEventForwarder
impl RefUnwindSafe for GetEventForwarder
impl Send for GetEventForwarder
impl Sync for GetEventForwarder
impl Unpin for GetEventForwarder
impl UnsafeUnpin for GetEventForwarder
impl UnwindSafe for GetEventForwarder
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