Enum sg_name::SgNameExecuteMsg
source · [−]pub enum SgNameExecuteMsg {
SetNameMarketplace {
address: String,
},
AssociateAddress {
name: String,
address: String,
},
UpdateImageNft {
name: String,
nft: Option<NFT>,
},
UpdateProfileNft {
name: String,
token_id: Option<String>,
},
AddTextRecord {
name: String,
record: TextRecord,
},
RemoveTextRecord {
name: String,
record_name: String,
},
UpdateTextRecord {
name: String,
record: TextRecord,
},
}Variants
SetNameMarketplace
Fields
address: StringSet name marketplace contract address
AssociateAddress
Set an address for name reverse lookup Can be an EOA or a contract address
UpdateImageNft
Update image
UpdateProfileNft
Update profile
AddTextRecord
Add text record ex: twitter handle, discord name, etc
RemoveTextRecord
Remove text record ex: twitter handle, discord name, etc
UpdateTextRecord
Update text record ex: twitter handle, discord name, etc
Trait Implementations
sourceimpl Clone for SgNameExecuteMsg
impl Clone for SgNameExecuteMsg
sourcefn clone(&self) -> SgNameExecuteMsg
fn clone(&self) -> SgNameExecuteMsg
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SgNameExecuteMsg
impl Debug for SgNameExecuteMsg
sourceimpl<'de> Deserialize<'de> for SgNameExecuteMsg
impl<'de> Deserialize<'de> for SgNameExecuteMsg
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 JsonSchema for SgNameExecuteMsg
impl JsonSchema for SgNameExecuteMsg
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<SgNameExecuteMsg> for SgNameExecuteMsg
impl PartialEq<SgNameExecuteMsg> for SgNameExecuteMsg
sourcefn eq(&self, other: &SgNameExecuteMsg) -> bool
fn eq(&self, other: &SgNameExecuteMsg) -> bool
sourceimpl Serialize for SgNameExecuteMsg
impl Serialize for SgNameExecuteMsg
impl StructuralPartialEq for SgNameExecuteMsg
Auto Trait Implementations
impl RefUnwindSafe for SgNameExecuteMsg
impl Send for SgNameExecuteMsg
impl Sync for SgNameExecuteMsg
impl Unpin for SgNameExecuteMsg
impl UnwindSafe for SgNameExecuteMsg
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