Struct croncat_sdk_tasks::types::Action
source · pub struct Action<T = Empty> {
pub msg: CosmosMsg<T>,
pub gas_limit: Option<u64>,
}
Fields§
§msg: CosmosMsg<T>
Supported CosmosMsgs only!
gas_limit: Option<u64>
The gas needed to safely process the execute msg
Trait Implementations§
source§impl<'de, T> Deserialize<'de> for Action<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Action<T>where T: Deserialize<'de>,
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<T: JsonSchema> JsonSchema for Action<T>
impl<T: JsonSchema> JsonSchema for Action<T>
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
§fn 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 moresource§impl<T: PartialEq> PartialEq<Action<T>> for Action<T>
impl<T: PartialEq> PartialEq<Action<T>> for Action<T>
impl<T> StructuralPartialEq for Action<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Action<T>where T: RefUnwindSafe,
impl<T> Send for Action<T>where T: Send,
impl<T> Sync for Action<T>where T: Sync,
impl<T> Unpin for Action<T>where T: Unpin,
impl<T> UnwindSafe for Action<T>where T: UnwindSafe,
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