pub struct ChainKey {
pub counter: i32,
pub key: Option<Vec<u8>>,
}Fields§
§counter: i32§key: Option<Vec<u8>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChainKey
impl<'de> Deserialize<'de> for ChainKey
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
Auto Trait Implementations§
impl Freeze for ChainKey
impl RefUnwindSafe for ChainKey
impl Send for ChainKey
impl Sync for ChainKey
impl Unpin for ChainKey
impl UnwindSafe for ChainKey
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