Enum tg_bindings::PrivilegeMsg
source · [−]Variants
Request(Privilege)
Release(Privilege)
Trait Implementations
sourceimpl Clone for PrivilegeMsg
impl Clone for PrivilegeMsg
sourcefn clone(&self) -> PrivilegeMsg
fn clone(&self) -> PrivilegeMsg
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for PrivilegeMsg
impl Debug for PrivilegeMsg
sourceimpl<'de> Deserialize<'de> for PrivilegeMsg
impl<'de> Deserialize<'de> for PrivilegeMsg
sourcefn 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
sourceimpl From<PrivilegeMsg> for TgradeMsg
impl From<PrivilegeMsg> for TgradeMsg
sourcefn from(msg: PrivilegeMsg) -> TgradeMsg
fn from(msg: PrivilegeMsg) -> TgradeMsg
Converts to this type from the input type.
sourceimpl From<PrivilegeMsg> for CosmosMsg<TgradeMsg>
impl From<PrivilegeMsg> for CosmosMsg<TgradeMsg>
sourcefn from(msg: PrivilegeMsg) -> CosmosMsg<TgradeMsg>
fn from(msg: PrivilegeMsg) -> CosmosMsg<TgradeMsg>
Converts to this type from the input type.
sourceimpl JsonSchema for PrivilegeMsg
impl JsonSchema for PrivilegeMsg
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
sourceimpl PartialEq<PrivilegeMsg> for PrivilegeMsg
impl PartialEq<PrivilegeMsg> for PrivilegeMsg
sourcefn eq(&self, other: &PrivilegeMsg) -> bool
fn eq(&self, other: &PrivilegeMsg) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &PrivilegeMsg) -> bool
fn ne(&self, other: &PrivilegeMsg) -> bool
This method tests for !=.
sourceimpl Serialize for PrivilegeMsg
impl Serialize for PrivilegeMsg
impl StructuralPartialEq for PrivilegeMsg
Auto Trait Implementations
impl RefUnwindSafe for PrivilegeMsg
impl Send for PrivilegeMsg
impl Sync for PrivilegeMsg
impl Unpin for PrivilegeMsg
impl UnwindSafe for PrivilegeMsg
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more