Struct dubp_block::DubpBlockV10Content [−][src]
Fields
version: usize
Version
number: BlockNumber
number
pow_min: usize
Minimal proof of work difficulty
time: u64
Local time of the block issuer
median_time: u64
Average time
members_count: usize
Members count
monetary_mass: u64
Monetary mass
unit_base: usize
Unit base (power of ten)
issuers_count: usize
Number of compute members in the current frame
issuers_frame: usize
Current frame size (in blocks)
issuers_frame_var: isize
Current frame variation buffer
currency: CurrencyName
Currency.
issuer: PublicKey
Block issuer
parameters: Option<BlockV10Parameters>
Currency parameters (only in genesis block)
previous_hash: Hash
Hash of the previous block
previous_issuer: PublicKey
Issuer of the previous block
dividend: Option<usize>
Amount of new dividend created at this block, None if no dividend is created at this block
identities: Vec<IdentityDocumentV10>
Identities
joiners: Vec<MembershipDocumentV10>
joiners
actives: Vec<MembershipDocumentV10>
Actives (=renewals)
leavers: Vec<MembershipDocumentV10>
Leavers
revoked: Vec<TextDocumentFormat<RevocationDocumentV10>>
Revokeds
excluded: Vec<PublicKey>
Excludeds
certifications: Vec<TextDocumentFormat<CertificationDocumentV10>>
Certifications
transactions: Vec<TransactionDocumentV10>
Transactions
Trait Implementations
impl Clone for DubpBlockV10Content
[src]
fn clone(&self) -> DubpBlockV10Content
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DubpBlockV10Content
[src]
impl Default for DubpBlockV10Content
[src]
fn default() -> DubpBlockV10Content
[src]
impl<'de> Deserialize<'de> for DubpBlockV10Content
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<DubpBlockV10Content> for DubpBlockV10Content
[src]
fn eq(&self, other: &DubpBlockV10Content) -> bool
[src]
fn ne(&self, other: &DubpBlockV10Content) -> bool
[src]
impl Serialize for DubpBlockV10Content
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for DubpBlockV10Content
[src]
Auto Trait Implementations
impl RefUnwindSafe for DubpBlockV10Content
impl Send for DubpBlockV10Content
impl Sync for DubpBlockV10Content
impl Unpin for DubpBlockV10Content
impl UnwindSafe for DubpBlockV10Content
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,