Trait indy_vdr::ledger::requests::RequestType [−][src]
pub trait RequestType: Serialize { fn get_txn_type<'a>() -> &'a str; fn get_sp_key(
&self,
_protocol_version: ProtocolVersion
) -> VdrResult<Option<Vec<u8>>> { ... } fn get_sp_timestamps(&self) -> VdrResult<(Option<u64>, Option<u64>)> { ... } }
Base trait for all ledger transaction request operations
Required methods
fn get_txn_type<'a>() -> &'a str
[src]
Get the transaction type as a numeric string
Provided methods
fn get_sp_key(
&self,
_protocol_version: ProtocolVersion
) -> VdrResult<Option<Vec<u8>>>
[src]
&self,
_protocol_version: ProtocolVersion
) -> VdrResult<Option<Vec<u8>>>
Get a state proof key for the transaction, if any can be derived
fn get_sp_timestamps(&self) -> VdrResult<(Option<u64>, Option<u64>)>
[src]
Get the state proof timestamps for the request, if any
Implementors
impl RequestType for AuthRuleOperation
[src]
impl RequestType for AuthRuleOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
impl RequestType for GetAuthRuleOperation
[src]
impl RequestType for GetAuthRuleOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
fn get_sp_key(
&self,
_protocol_version: ProtocolVersion
) -> VdrResult<Option<Vec<u8>>>
[src]
&self,
_protocol_version: ProtocolVersion
) -> VdrResult<Option<Vec<u8>>>
impl RequestType for AttribOperation
[src]
impl RequestType for AttribOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
impl RequestType for GetAttribOperation
[src]
impl RequestType for GetAttribOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
fn get_sp_key(
&self,
protocol_version: ProtocolVersion
) -> VdrResult<Option<Vec<u8>>>
[src]
&self,
protocol_version: ProtocolVersion
) -> VdrResult<Option<Vec<u8>>>
impl RequestType for AuthRulesOperation
[src]
impl RequestType for AuthRulesOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
impl RequestType for DisableAllTxnAuthorAgreementsOperation
[src]
impl RequestType for DisableAllTxnAuthorAgreementsOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
impl RequestType for GetAcceptanceMechanismOperation
[src]
impl RequestType for GetAcceptanceMechanismOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
fn get_sp_key(
&self,
_protocol_version: ProtocolVersion
) -> VdrResult<Option<Vec<u8>>>
[src]
&self,
_protocol_version: ProtocolVersion
) -> VdrResult<Option<Vec<u8>>>
fn get_sp_timestamps(&self) -> VdrResult<(Option<u64>, Option<u64>)>
[src]
impl RequestType for GetTxnAuthorAgreementOperation
[src]
impl RequestType for GetTxnAuthorAgreementOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
fn get_sp_key(
&self,
_protocol_version: ProtocolVersion
) -> VdrResult<Option<Vec<u8>>>
[src]
&self,
_protocol_version: ProtocolVersion
) -> VdrResult<Option<Vec<u8>>>
fn get_sp_timestamps(&self) -> VdrResult<(Option<u64>, Option<u64>)>
[src]
impl RequestType for SetAcceptanceMechanismOperation
[src]
impl RequestType for SetAcceptanceMechanismOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
impl RequestType for TxnAuthorAgreementOperation
[src]
impl RequestType for TxnAuthorAgreementOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
impl RequestType for CredDefOperation
[src]
impl RequestType for CredDefOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
impl RequestType for GetCredDefOperation
[src]
impl RequestType for GetCredDefOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
fn get_sp_key(
&self,
protocol_version: ProtocolVersion
) -> VdrResult<Option<Vec<u8>>>
[src]
&self,
protocol_version: ProtocolVersion
) -> VdrResult<Option<Vec<u8>>>
impl RequestType for NodeOperation
[src]
impl RequestType for NodeOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
impl RequestType for GetNymOperation
[src]
impl RequestType for GetNymOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
fn get_sp_key(
&self,
_protocol_version: ProtocolVersion
) -> VdrResult<Option<Vec<u8>>>
[src]
&self,
_protocol_version: ProtocolVersion
) -> VdrResult<Option<Vec<u8>>>
impl RequestType for NymOperation
[src]
impl RequestType for NymOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
impl RequestType for PoolConfigOperation
[src]
impl RequestType for PoolConfigOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
impl RequestType for PoolRestartOperation
[src]
impl RequestType for PoolRestartOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
impl RequestType for PoolUpgradeOperation
[src]
impl RequestType for PoolUpgradeOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
impl RequestType for GetRevRegDeltaOperation
[src]
impl RequestType for GetRevRegDeltaOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
fn get_sp_key(
&self,
protocol_version: ProtocolVersion
) -> VdrResult<Option<Vec<u8>>>
[src]
&self,
protocol_version: ProtocolVersion
) -> VdrResult<Option<Vec<u8>>>
fn get_sp_timestamps(&self) -> VdrResult<(Option<u64>, Option<u64>)>
[src]
impl RequestType for GetRevRegOperation
[src]
impl RequestType for GetRevRegOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
fn get_sp_key(
&self,
protocol_version: ProtocolVersion
) -> VdrResult<Option<Vec<u8>>>
[src]
&self,
protocol_version: ProtocolVersion
) -> VdrResult<Option<Vec<u8>>>
fn get_sp_timestamps(&self) -> VdrResult<(Option<u64>, Option<u64>)>
[src]
impl RequestType for RevRegEntryOperation
[src]
impl RequestType for RevRegEntryOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
impl RequestType for GetRevRegDefOperation
[src]
impl RequestType for GetRevRegDefOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
fn get_sp_key(
&self,
_protocol_version: ProtocolVersion
) -> VdrResult<Option<Vec<u8>>>
[src]
&self,
_protocol_version: ProtocolVersion
) -> VdrResult<Option<Vec<u8>>>
impl RequestType for RevRegDefOperation
[src]
impl RequestType for RevRegDefOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
impl RequestType for GetSchemaOperation
[src]
impl RequestType for GetSchemaOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
fn get_sp_key(
&self,
protocol_version: ProtocolVersion
) -> VdrResult<Option<Vec<u8>>>
[src]
&self,
protocol_version: ProtocolVersion
) -> VdrResult<Option<Vec<u8>>>
impl RequestType for SchemaOperation
[src]
impl RequestType for SchemaOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
impl RequestType for GetTxnOperation
[src]
impl RequestType for GetTxnOperation
[src]fn get_txn_type<'a>() -> &'a str
[src]
fn get_sp_key(
&self,
_protocol_version: ProtocolVersion
) -> VdrResult<Option<Vec<u8>>>
[src]
&self,
_protocol_version: ProtocolVersion
) -> VdrResult<Option<Vec<u8>>>
fn get_sp_timestamps(&self) -> VdrResult<(Option<u64>, Option<u64>)>
[src]
impl RequestType for GetValidatorInfoOperation
[src]
impl RequestType for GetValidatorInfoOperation
[src]