pub struct JwtStatusResponse {
pub algorithm: JwtAlgorithm,
pub join_secret_wiped_at: Option<String>,
}Expand description
Response body for GET /api/v1/cluster/jwt-status.
Fields§
§algorithm: JwtAlgorithmCurrently-enforced algorithm policy.
join_secret_wiped_at: Option<String>RFC3339 timestamp when this node believes {data_dir}/join_secret
was last wiped via SecretsRaftOp::WipeJoinSecret. None if it
has never been wiped (the file may still exist on disk for HS256).
Trait Implementations§
Source§impl Clone for JwtStatusResponse
impl Clone for JwtStatusResponse
Source§fn clone(&self) -> JwtStatusResponse
fn clone(&self) -> JwtStatusResponse
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 ComposeSchema for JwtStatusResponse
impl ComposeSchema for JwtStatusResponse
Source§impl Debug for JwtStatusResponse
impl Debug for JwtStatusResponse
Source§impl<'de> Deserialize<'de> for JwtStatusResponse
impl<'de> Deserialize<'de> for JwtStatusResponse
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 Serialize for JwtStatusResponse
impl Serialize for JwtStatusResponse
Auto Trait Implementations§
impl Freeze for JwtStatusResponse
impl RefUnwindSafe for JwtStatusResponse
impl Send for JwtStatusResponse
impl Sync for JwtStatusResponse
impl Unpin for JwtStatusResponse
impl UnsafeUnpin for JwtStatusResponse
impl UnwindSafe for JwtStatusResponse
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