pub struct AuthoritySpecInput {
pub sigs_required: u8,
pub authorized_signers: Vec<ByteArray<32>>,
}
Fields§
§sigs_required: u8
Trait Implementations§
Source§impl Clone for AuthoritySpecInput
impl Clone for AuthoritySpecInput
Source§fn clone(&self) -> AuthoritySpecInput
fn clone(&self) -> AuthoritySpecInput
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 AuthoritySpecInput
impl Debug for AuthoritySpecInput
Source§impl<'de> Deserialize<'de> for AuthoritySpecInput
impl<'de> Deserialize<'de> for AuthoritySpecInput
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<AuthoritySpecInput> for AuthoritySpec
impl From<AuthoritySpecInput> for AuthoritySpec
Source§fn from(input: AuthoritySpecInput) -> Self
fn from(input: AuthoritySpecInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AuthoritySpecInput
impl RefUnwindSafe for AuthoritySpecInput
impl Send for AuthoritySpecInput
impl Sync for AuthoritySpecInput
impl Unpin for AuthoritySpecInput
impl UnwindSafe for AuthoritySpecInput
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