pub struct SignEndUserSolMessageSimulationInput {
pub address: SignEndUserSolMessageSimulationInputAddress,
pub message: String,
pub operation: SignEndUserSolMessageSimulationInputOperation,
pub user_id: SignEndUserSolMessageSimulationInputUserId,
}Expand description
SignEndUserSolMessageSimulationInput
JSON schema
{
"title": "SignEndUserSolMessageSimulationInput",
"examples": [
{
"address": "HpabPRRCFbBKSuJr5PdkVvQc85FyxyTWkFM2obBRSvHT",
"message": "SGVsbG8sIHdvcmxk",
"operation": "signEndUserSolMessage",
"userId": "e051beeb-7163-4527-a5b6-35e301529ff2"
}
],
"type": "object",
"required": [
"address",
"message",
"operation",
"userId"
],
"properties": {
"address": {
"description": "The base58 encoded address of the Solana account belonging to the end user.",
"type": "string",
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
},
"message": {
"description": "The base64 encoded arbitrary message to evaluate.",
"type": "string"
},
"operation": {
"description": "Rule operation to simulate.",
"type": "string",
"enum": [
"signEndUserSolMessage"
],
"x-go-type": "string"
},
"userId": {
"description": "The ID of the end user.",
"type": "string",
"pattern": "^[a-zA-Z0-9-]{1,100}$"
}
},
"additionalProperties": false
}Fields§
§address: SignEndUserSolMessageSimulationInputAddressThe base58 encoded address of the Solana account belonging to the end user.
message: StringThe base64 encoded arbitrary message to evaluate.
operation: SignEndUserSolMessageSimulationInputOperationRule operation to simulate.
user_id: SignEndUserSolMessageSimulationInputUserIdThe ID of the end user.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SignEndUserSolMessageSimulationInput
impl<'de> Deserialize<'de> for SignEndUserSolMessageSimulationInput
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 From<&SignEndUserSolMessageSimulationInput> for SignEndUserSolMessageSimulationInput
impl From<&SignEndUserSolMessageSimulationInput> for SignEndUserSolMessageSimulationInput
Source§fn from(value: &SignEndUserSolMessageSimulationInput) -> Self
fn from(value: &SignEndUserSolMessageSimulationInput) -> Self
Converts to this type from the input type.
Source§impl From<SignEndUserSolMessageSimulationInput> for SimulatePoliciesRequest
impl From<SignEndUserSolMessageSimulationInput> for SimulatePoliciesRequest
Source§fn from(value: SignEndUserSolMessageSimulationInput) -> Self
fn from(value: SignEndUserSolMessageSimulationInput) -> Self
Converts to this type from the input type.
Source§impl From<SignEndUserSolMessageSimulationInput> for SignEndUserSolMessageSimulationInput
impl From<SignEndUserSolMessageSimulationInput> for SignEndUserSolMessageSimulationInput
Source§fn from(value: SignEndUserSolMessageSimulationInput) -> Self
fn from(value: SignEndUserSolMessageSimulationInput) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SignEndUserSolMessageSimulationInput> for SignEndUserSolMessageSimulationInput
impl TryFrom<SignEndUserSolMessageSimulationInput> for SignEndUserSolMessageSimulationInput
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: SignEndUserSolMessageSimulationInput,
) -> Result<Self, ConversionError>
fn try_from( value: SignEndUserSolMessageSimulationInput, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SignEndUserSolMessageSimulationInput
impl RefUnwindSafe for SignEndUserSolMessageSimulationInput
impl Send for SignEndUserSolMessageSimulationInput
impl Sync for SignEndUserSolMessageSimulationInput
impl Unpin for SignEndUserSolMessageSimulationInput
impl UnsafeUnpin for SignEndUserSolMessageSimulationInput
impl UnwindSafe for SignEndUserSolMessageSimulationInput
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