pub enum SgNameExecuteMsg {
SetNameMarketplace {
address: String,
},
AssociateAddress {
name: String,
address: Option<String>,
},
UpdateImageNft {
name: String,
nft: Option<NFT>,
},
UpdateMetadata {
name: String,
metadata: Option<Metadata>,
},
AddTextRecord {
name: String,
record: TextRecord,
},
RemoveTextRecord {
name: String,
record_name: String,
},
UpdateTextRecord {
name: String,
record: TextRecord,
},
VerifyTextRecord {
name: String,
record_name: String,
result: bool,
},
UpdateVerifier {
verifier: Option<String>,
},
}Variants§
SetNameMarketplace
Set name marketplace contract address
AssociateAddress
Set an address for name reverse lookup Can be an EOA or a contract address
UpdateImageNft
Update image
UpdateMetadata
Update Metadata
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
VerifyTextRecord
Verify a text record (via oracle)
UpdateVerifier
Update the reset the verification oracle
Trait Implementations§
Source§impl Clone for SgNameExecuteMsg
impl Clone for SgNameExecuteMsg
Source§fn clone(&self) -> SgNameExecuteMsg
fn clone(&self) -> SgNameExecuteMsg
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SgNameExecuteMsg
impl Debug for SgNameExecuteMsg
Source§impl<'de> Deserialize<'de> for SgNameExecuteMsg
impl<'de> Deserialize<'de> for SgNameExecuteMsg
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 JsonSchema for SgNameExecuteMsg
impl JsonSchema for SgNameExecuteMsg
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 PartialEq for SgNameExecuteMsg
impl PartialEq for SgNameExecuteMsg
Source§impl Serialize for SgNameExecuteMsg
impl Serialize for SgNameExecuteMsg
impl StructuralPartialEq for SgNameExecuteMsg
Auto Trait Implementations§
impl Freeze for SgNameExecuteMsg
impl RefUnwindSafe for SgNameExecuteMsg
impl Send for SgNameExecuteMsg
impl Sync for SgNameExecuteMsg
impl Unpin for SgNameExecuteMsg
impl UnwindSafe for SgNameExecuteMsg
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