pub struct KeyPage {
pub key_book: String,
pub url: String,
pub credit_balance: u64,
pub accept_threshold: u64,
pub reject_threshold: u64,
pub response_threshold: u64,
pub block_threshold: u64,
pub version: u64,
pub keys: KeySpec,
pub transaction_blacklist: Vec<String>,
}Fields§
§key_book: String§url: String§credit_balance: u64§accept_threshold: u64§reject_threshold: u64§response_threshold: u64§block_threshold: u64§version: u64§keys: KeySpec§transaction_blacklist: Vec<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for KeyPage
impl<'de> Deserialize<'de> for KeyPage
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
impl StructuralPartialEq for KeyPage
Auto Trait Implementations§
impl Freeze for KeyPage
impl RefUnwindSafe for KeyPage
impl Send for KeyPage
impl Sync for KeyPage
impl Unpin for KeyPage
impl UnsafeUnpin for KeyPage
impl UnwindSafe for KeyPage
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