pub struct AiTokenEntry {
pub token_key: String,
pub created: DateTime<Utc>,
}Expand description
A registered AI delegation token entry.
Fields§
§token_key: StringPublic key of the one-time token keypair (hex-encoded Ed25519).
created: DateTime<Utc>When this token was created.
Trait Implementations§
Source§impl Clone for AiTokenEntry
impl Clone for AiTokenEntry
Source§fn clone(&self) -> AiTokenEntry
fn clone(&self) -> AiTokenEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 AiTokenEntry
impl Debug for AiTokenEntry
Source§impl<'de> Deserialize<'de> for AiTokenEntry
impl<'de> Deserialize<'de> for AiTokenEntry
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 AiTokenEntry
impl PartialEq for AiTokenEntry
Source§impl Serialize for AiTokenEntry
impl Serialize for AiTokenEntry
impl StructuralPartialEq for AiTokenEntry
Auto Trait Implementations§
impl Freeze for AiTokenEntry
impl RefUnwindSafe for AiTokenEntry
impl Send for AiTokenEntry
impl Sync for AiTokenEntry
impl Unpin for AiTokenEntry
impl UnsafeUnpin for AiTokenEntry
impl UnwindSafe for AiTokenEntry
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