Skip to content

seed

Structs


Struct

Fields:

  • raw_token: String
  • token_id: String
  • agent_id: String
  • session_id: String
  • action_set: Vec<String>
  • resource_scope: String
  • issued_at: String
  • expiry: String
  • context_hash: String
  • budget_ceiling: Option<f64>

Methods:

  • fn from_issuance(out: &IssuanceResult) -> Self
  • fn to_toml(self: &Self) -> Result<String> - Serialize as pretty-printed TOML.

Trait Implementations:

  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
  • Serialize
    • fn serialize<__S>(self: &Self, __serializer: __S) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>