Enum duniter_bda_types::BcaRespTypeV0 [−][src]
pub enum BcaRespTypeV0 {}Show variants
Error(String), Balances(ArrayVec<Option<SourceAmount>, 16>), FirstUtxosOfPubkeys(Vec<ArrayVec<Utxo, MAX_FIRST_UTXOS>>), ProofServerPubkey { challenge: [u8; 16], server_pubkey: PublicKey, sig: Signature, }, LastBlockstampOutOfForkWindow(Blockstamp), MembersCount(u64), PrepareSimplePayment(PrepareSimplePaymentResp), Pong, RejectedTxs(Vec<RejectedTx>), Identities(ArrayVec<Option<Identity>, 16>), CurrentUd(SourceAmount), PeersV10(Vec<Peer>), CurrentBlockstamp(Blockstamp), Sync { blocks_chunks_hashs: Vec<Hash>, peers: Vec<Peer>, target_blockstamp: Blockstamp, }, CompressedBlockChunk { chunk_id: usize, compressed_data: Vec<u8>, },
Variants
Error(String)
MembersCount(u64)
PrepareSimplePayment(PrepareSimplePaymentResp)
RejectedTxs(Vec<RejectedTx>)
Show fields
Trait Implementations
impl Clone for BcaRespTypeV0
[src]
impl Clone for BcaRespTypeV0
[src]fn clone(&self) -> BcaRespTypeV0
[src]
fn clone(&self) -> BcaRespTypeV0
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for BcaRespTypeV0
[src]
impl Debug for BcaRespTypeV0
[src]impl<'de> Deserialize<'de> for BcaRespTypeV0
[src]
impl<'de> Deserialize<'de> for BcaRespTypeV0
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<BcaRespTypeV0> for BcaRespTypeV0
[src]
impl PartialEq<BcaRespTypeV0> for BcaRespTypeV0
[src]fn eq(&self, other: &BcaRespTypeV0) -> bool
[src]
fn eq(&self, other: &BcaRespTypeV0) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &BcaRespTypeV0) -> bool
[src]
fn ne(&self, other: &BcaRespTypeV0) -> bool
[src]This method tests for !=
.
impl Serialize for BcaRespTypeV0
[src]
impl Serialize for BcaRespTypeV0
[src]impl Eq for BcaRespTypeV0
[src]
impl StructuralEq for BcaRespTypeV0
[src]
impl StructuralPartialEq for BcaRespTypeV0
[src]
Auto Trait Implementations
impl RefUnwindSafe for BcaRespTypeV0
impl Send for BcaRespTypeV0
impl Sync for BcaRespTypeV0
impl Unpin for BcaRespTypeV0
impl UnwindSafe for BcaRespTypeV0
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,