pub struct ActiveBlock {
pub id: String,
pub caller: String,
pub rule: &'static str,
pub grade: &'static str,
pub until: Timestamp,
}Expand description
An address is shown by its network only.
Fields§
§id: String§caller: String§rule: &'static str§grade: &'static str§until: TimestampTrait Implementations§
Source§impl Clone for ActiveBlock
impl Clone for ActiveBlock
Source§impl Debug for ActiveBlock
impl Debug for ActiveBlock
impl Eq for ActiveBlock
Source§impl PartialEq for ActiveBlock
impl PartialEq for ActiveBlock
impl StructuralPartialEq for ActiveBlock
Auto Trait Implementations§
impl Forget for ActiveBlock
impl Freeze for ActiveBlock
impl RefUnwindSafe for ActiveBlock
impl Send for ActiveBlock
impl Sync for ActiveBlock
impl Unpin for ActiveBlock
impl UnsafeUnpin for ActiveBlock
impl UnwindSafe for ActiveBlock
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.