pub struct Delegate {
pub address: String,
pub expires_at: Option<i64>,
pub flags: i32,
pub name: String,
}Expand description
Delegate
JSON schema
{
"type": "object",
"required": [
"address",
"flags",
"name"
],
"properties": {
"address": {
"type": "string"
},
"expiresAt": {
"type": [
"integer",
"null"
],
"format": "int64"
},
"flags": {
"type": "integer",
"format": "int32",
"minimum": 0.0
},
"name": {
"type": "string"
}
}
}Fields§
§address: String§expires_at: Option<i64>§flags: i32§name: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Delegate
impl<'de> Deserialize<'de> for Delegate
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 Delegate
impl RefUnwindSafe for Delegate
impl Send for Delegate
impl Sync for Delegate
impl Unpin for Delegate
impl UnsafeUnpin for Delegate
impl UnwindSafe for Delegate
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