pub struct ExchangeRefused {
pub iss: String,
pub presenter: String,
pub sub: String,
pub aud: String,
pub method: String,
pub presented_call: String,
pub presented_jti: String,
pub reason: ExchangeRefusal,
pub why: String,
}Expand description
KEEL-19: one refused exchange (TM-7): who presented what, for whom, and why it was refused. Never the token, a signature or a proof.
Fields§
§iss: String§presenter: StringThe presenter: the subject token’s audience (empty when the subject token could not be read).
sub: String§aud: StringThe audience asked for (a peer’s name, as the exchange named it).
method: String§presented_call: StringThe call and jti of the subject token.
presented_jti: String§reason: ExchangeRefusal§why: StringTrait Implementations§
Source§impl Clone for ExchangeRefused
impl Clone for ExchangeRefused
Source§impl Debug for ExchangeRefused
impl Debug for ExchangeRefused
Source§impl<'de> Deserialize<'de> for ExchangeRefused
impl<'de> Deserialize<'de> for ExchangeRefused
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
impl Eq for ExchangeRefused
Source§impl PartialEq for ExchangeRefused
impl PartialEq for ExchangeRefused
Source§impl Serialize for ExchangeRefused
impl Serialize for ExchangeRefused
impl StructuralPartialEq for ExchangeRefused
Auto Trait Implementations§
impl Forget for ExchangeRefused
impl Freeze for ExchangeRefused
impl Move for ExchangeRefused
impl RefUnwindSafe for ExchangeRefused
impl Send for ExchangeRefused
impl Sync for ExchangeRefused
impl Unpin for ExchangeRefused
impl UnsafeUnpin for ExchangeRefused
impl UnwindSafe for ExchangeRefused
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.