pub struct SignedGuardianSetUpgrade {
pub current_guardian_set_index: u32,
pub new_guardian_set_index: u32,
pub new_guardian_keys: Vec<Vec<u8>>,
pub body: Vec<u8>,
pub signature: Vec<u8>,
}Fields§
§current_guardian_set_index: u32Current guardian set index (the signing set)
new_guardian_set_index: u32New guardian set index
new_guardian_keys: Vec<Vec<u8>>Hex-encoded new guardian keys (20 bytes each)
body: Vec<u8>Hex-encoded serialized VAA body bytes (for downstream VAA assembly)
signature: Vec<u8>Hex-encoded 65-byte ECDSA signature (r || s || v) over the body digest
Trait Implementations§
Source§impl Clone for SignedGuardianSetUpgrade
impl Clone for SignedGuardianSetUpgrade
Source§fn clone(&self) -> SignedGuardianSetUpgrade
fn clone(&self) -> SignedGuardianSetUpgrade
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 SignedGuardianSetUpgrade
impl Debug for SignedGuardianSetUpgrade
Source§impl<'de> Deserialize<'de> for SignedGuardianSetUpgrade
impl<'de> Deserialize<'de> for SignedGuardianSetUpgrade
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 PartialEq for SignedGuardianSetUpgrade
impl PartialEq for SignedGuardianSetUpgrade
Source§impl Serialize for SignedGuardianSetUpgrade
impl Serialize for SignedGuardianSetUpgrade
impl Eq for SignedGuardianSetUpgrade
impl StructuralPartialEq for SignedGuardianSetUpgrade
Auto Trait Implementations§
impl Freeze for SignedGuardianSetUpgrade
impl RefUnwindSafe for SignedGuardianSetUpgrade
impl Send for SignedGuardianSetUpgrade
impl Sync for SignedGuardianSetUpgrade
impl Unpin for SignedGuardianSetUpgrade
impl UnsafeUnpin for SignedGuardianSetUpgrade
impl UnwindSafe for SignedGuardianSetUpgrade
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more