pub struct Binding<'a> {
pub audience: &'a str,
pub repository: &'a str,
pub target: &'a UrlTarget,
}Expand description
What verification phase 2 binds a token to: the request’s audience, repository and target, each compared byte for byte.
Fields§
§audience: &'a strThe deployment’s auth v2 audience.
repository: &'a strThe request’s repository identity (STC §7.4).
target: &'a UrlTargetThe target the request asks for.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Binding<'a>
impl<'a> RefUnwindSafe for Binding<'a>
impl<'a> Send for Binding<'a>
impl<'a> Sync for Binding<'a>
impl<'a> Unpin for Binding<'a>
impl<'a> UnsafeUnpin for Binding<'a>
impl<'a> UnwindSafe for Binding<'a>
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