pub struct AggregateBudgetRootBinding {
pub body: AggregateBudgetRootBindingBody,
pub algorithm: Option<SigningAlgorithm>,
pub signature: Signature,
}Fields§
§body: AggregateBudgetRootBindingBody§algorithm: Option<SigningAlgorithm>§signature: SignatureImplementations§
Source§impl AggregateBudgetRootBinding
impl AggregateBudgetRootBinding
pub fn sign( body: AggregateBudgetRootBindingBody, keypair: &Keypair, ) -> Result<AggregateBudgetRootBinding, Error>
pub fn sign_with_backend( body: AggregateBudgetRootBindingBody, backend: &dyn SigningBackend, ) -> Result<AggregateBudgetRootBinding, Error>
pub fn verify_signature(&self) -> Result<bool, Error>
pub fn digest(&self) -> Result<String, Error>
Trait Implementations§
Source§impl Clone for AggregateBudgetRootBinding
impl Clone for AggregateBudgetRootBinding
Source§fn clone(&self) -> AggregateBudgetRootBinding
fn clone(&self) -> AggregateBudgetRootBinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AggregateBudgetRootBinding
impl Debug for AggregateBudgetRootBinding
Source§impl<'de> Deserialize<'de> for AggregateBudgetRootBinding
impl<'de> Deserialize<'de> for AggregateBudgetRootBinding
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AggregateBudgetRootBinding, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AggregateBudgetRootBinding, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AggregateBudgetRootBinding
Source§impl Serialize for AggregateBudgetRootBinding
impl Serialize for AggregateBudgetRootBinding
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for AggregateBudgetRootBinding
Auto Trait Implementations§
impl Freeze for AggregateBudgetRootBinding
impl RefUnwindSafe for AggregateBudgetRootBinding
impl Send for AggregateBudgetRootBinding
impl Sync for AggregateBudgetRootBinding
impl Unpin for AggregateBudgetRootBinding
impl UnsafeUnpin for AggregateBudgetRootBinding
impl UnwindSafe for AggregateBudgetRootBinding
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