#[non_exhaustive]pub struct RouteAuthorizeExpected {
pub kind: ScopeKind,
pub agent_id: Option<String>,
pub delegates: bool,
pub run_id: Option<String>,
pub on_behalf_of_agent: Option<String>,
pub flow_id: Option<String>,
pub flow_version: Option<u64>,
pub flow_install_id: Option<String>,
pub flow_code_hash: Option<String>,
}Expand description
Claim derivation inputs. Missing fields must also be absent on the scope;
they are not wildcards. Like a stamp, omitted delegates means false.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: ScopeKind§agent_id: Option<String>§delegates: bool§run_id: Option<String>§on_behalf_of_agent: Option<String>§flow_id: Option<String>§flow_version: Option<u64>§flow_install_id: Option<String>§flow_code_hash: Option<String>Implementations§
Source§impl RouteAuthorizeExpected
impl RouteAuthorizeExpected
pub fn new( kind: ScopeKind, attributes: &ScopeAttributes, ) -> RouteAuthorizeExpected
Trait Implementations§
Source§impl Clone for RouteAuthorizeExpected
impl Clone for RouteAuthorizeExpected
Source§fn clone(&self) -> RouteAuthorizeExpected
fn clone(&self) -> RouteAuthorizeExpected
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 Debug for RouteAuthorizeExpected
impl Debug for RouteAuthorizeExpected
Source§impl<'de> Deserialize<'de> for RouteAuthorizeExpected
impl<'de> Deserialize<'de> for RouteAuthorizeExpected
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RouteAuthorizeExpected, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RouteAuthorizeExpected, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RouteAuthorizeExpected
Source§impl PartialEq for RouteAuthorizeExpected
impl PartialEq for RouteAuthorizeExpected
Source§impl Serialize for RouteAuthorizeExpected
impl Serialize for RouteAuthorizeExpected
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for RouteAuthorizeExpected
Auto Trait Implementations§
impl Forget for RouteAuthorizeExpected
impl Freeze for RouteAuthorizeExpected
impl Move for RouteAuthorizeExpected
impl RefUnwindSafe for RouteAuthorizeExpected
impl Send for RouteAuthorizeExpected
impl Sync for RouteAuthorizeExpected
impl Unpin for RouteAuthorizeExpected
impl UnsafeUnpin for RouteAuthorizeExpected
impl UnwindSafe for RouteAuthorizeExpected
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