pub struct CronCatAction<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<Action<T>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Action<T>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<T> JsonSchema for Action<T>where
T: JsonSchema,
impl<T> JsonSchema for Action<T>where
T: JsonSchema,
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§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> Serialize for Action<T>where
T: Serialize,
impl<T> Serialize for Action<T>where
T: Serialize,
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<T> StructuralPartialEq for Action<T>
Auto Trait Implementations§
impl<T> Freeze for Action<T>where
T: Freeze,
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