pub struct DrainEntry {
pub mediator_did: String,
pub endpoint: String,
pub drains_until: String,
}Fields§
§mediator_did: String§endpoint: String§drains_until: StringDrain deadline (RFC 3339).
Trait Implementations§
Source§impl Clone for DrainEntry
impl Clone for DrainEntry
Source§fn clone(&self) -> DrainEntry
fn clone(&self) -> DrainEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DrainEntry
impl Debug for DrainEntry
Source§impl<'de> Deserialize<'de> for DrainEntry
impl<'de> Deserialize<'de> for DrainEntry
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 Eq for DrainEntry
Source§impl PartialEq for DrainEntry
impl PartialEq for DrainEntry
Source§impl Serialize for DrainEntry
impl Serialize for DrainEntry
impl StructuralPartialEq for DrainEntry
Auto Trait Implementations§
impl Freeze for DrainEntry
impl RefUnwindSafe for DrainEntry
impl Send for DrainEntry
impl Sync for DrainEntry
impl Unpin for DrainEntry
impl UnsafeUnpin for DrainEntry
impl UnwindSafe for DrainEntry
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