Enum abstract_os::api::BaseExecuteMsg
source · [−]pub enum BaseExecuteMsg {
UpdateTraders {
to_add: Option<Vec<String>>,
to_remove: Option<Vec<String>>,
},
Remove {},
}
Expand description
Configuration message for the API
Variants
UpdateTraders
Add or remove traders If a trader is both in to_add and to_remove, it will be removed.
Remove
Fields
Remove the API
Trait Implementations
sourceimpl Clone for BaseExecuteMsg
impl Clone for BaseExecuteMsg
sourcefn clone(&self) -> BaseExecuteMsg
fn clone(&self) -> BaseExecuteMsg
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 moresourceimpl Debug for BaseExecuteMsg
impl Debug for BaseExecuteMsg
sourceimpl<'de> Deserialize<'de> for BaseExecuteMsg
impl<'de> Deserialize<'de> for BaseExecuteMsg
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<T: Serialize> From<BaseExecuteMsg> for ExecuteMsg<T>
impl<T: Serialize> From<BaseExecuteMsg> for ExecuteMsg<T>
sourcefn from(api_msg: BaseExecuteMsg) -> Self
fn from(api_msg: BaseExecuteMsg) -> Self
Converts to this type from the input type.
sourceimpl JsonSchema for BaseExecuteMsg
impl JsonSchema for BaseExecuteMsg
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 moresourceimpl PartialEq<BaseExecuteMsg> for BaseExecuteMsg
impl PartialEq<BaseExecuteMsg> for BaseExecuteMsg
sourcefn eq(&self, other: &BaseExecuteMsg) -> bool
fn eq(&self, other: &BaseExecuteMsg) -> bool
sourceimpl Serialize for BaseExecuteMsg
impl Serialize for BaseExecuteMsg
impl StructuralPartialEq for BaseExecuteMsg
Auto Trait Implementations
impl RefUnwindSafe for BaseExecuteMsg
impl Send for BaseExecuteMsg
impl Sync for BaseExecuteMsg
impl Unpin for BaseExecuteMsg
impl UnwindSafe for BaseExecuteMsg
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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