[−][src]Struct grid_sdk::protocol::pike::payload::CreateAgentAction
Native implementation for CreateAgentAction
Methods
impl CreateAgentAction
[src]
pub fn org_id(&self) -> &str
[src]
pub fn public_key(&self) -> &str
[src]
pub fn active(&self) -> &bool
[src]
pub fn roles(&self) -> &[String]
[src]
pub fn metadata(&self) -> &[KeyValueEntry]
[src]
Trait Implementations
impl FromProto<CreateAgentAction> for CreateAgentAction
[src]
fn from_proto(
create_agent: CreateAgentAction
) -> Result<Self, ProtoConversionError>
[src]
create_agent: CreateAgentAction
) -> Result<Self, ProtoConversionError>
impl FromNative<CreateAgentAction> for CreateAgentAction
[src]
fn from_native(
create_agent: CreateAgentAction
) -> Result<Self, ProtoConversionError>
[src]
create_agent: CreateAgentAction
) -> Result<Self, ProtoConversionError>
impl FromBytes<CreateAgentAction> for CreateAgentAction
[src]
fn from_bytes(bytes: &[u8]) -> Result<CreateAgentAction, ProtoConversionError>
[src]
impl IntoBytes for CreateAgentAction
[src]
fn into_bytes(self) -> Result<Vec<u8>, ProtoConversionError>
[src]
impl IntoNative<CreateAgentAction> for CreateAgentAction
[src]
fn into_native(self) -> Result<T, ProtoConversionError>
[src]
impl IntoProto<CreateAgentAction> for CreateAgentAction
[src]
fn into_proto(self) -> Result<T, ProtoConversionError>
[src]
impl PartialEq<CreateAgentAction> for CreateAgentAction
[src]
fn eq(&self, other: &CreateAgentAction) -> bool
[src]
fn ne(&self, other: &CreateAgentAction) -> bool
[src]
impl Clone for CreateAgentAction
[src]
fn clone(&self) -> CreateAgentAction
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for CreateAgentAction
[src]
fn default() -> CreateAgentAction
[src]
impl Debug for CreateAgentAction
[src]
Auto Trait Implementations
impl Send for CreateAgentAction
impl Sync for CreateAgentAction
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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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,