pub struct Controller {
pub id: AgentId,
pub source: String,
pub valid_from: i64,
pub name: Option<String>,
pub delegation: Option<DelegationAuthority>,
pub retired_at: Option<i64>,
pub invalid_from: Option<i64>,
}Expand description
Same type for active and retired bindings. Missing delegation means signing-only.
Fields§
§id: AgentId§source: String§valid_from: i64§name: Option<String>§delegation: Option<DelegationAuthority>§retired_at: Option<i64>§invalid_from: Option<i64>Implementations§
Trait Implementations§
Source§impl Clone for Controller
impl Clone for Controller
Source§impl Debug for Controller
impl Debug for Controller
Source§impl<'de> Deserialize<'de> for Controller
impl<'de> Deserialize<'de> for Controller
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
Source§impl PartialEq for Controller
impl PartialEq for Controller
Source§impl Serialize for Controller
impl Serialize for Controller
impl StructuralPartialEq for Controller
Auto Trait Implementations§
impl Freeze for Controller
impl RefUnwindSafe for Controller
impl Send for Controller
impl Sync for Controller
impl Unpin for Controller
impl UnsafeUnpin for Controller
impl UnwindSafe for Controller
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