pub struct Assignment {
pub namespace: String,
pub repo_name: String,
pub repository: String,
pub ref_name: String,
pub signer: Hash,
pub packs: Vec<PackGrant>,
}Expand description
Repository and ticket bindings retained in an authenticated capability.
Fields§
§namespace: StringInternal namespace routing key.
repo_name: StringInternal repository name.
repository: StringExact wire repository identity.
ref_name: StringTicket ref; selects the strongly consistent ref shard.
signer: HashWriter that owns the tickets, independent of the scanner signer.
packs: Vec<PackGrant>Exact ordered raw added pack ids, lengths and bound tickets.
Trait Implementations§
Source§impl Clone for Assignment
impl Clone for Assignment
Source§impl Debug for Assignment
impl Debug for Assignment
Source§impl<'de> Deserialize<'de> for Assignment
impl<'de> Deserialize<'de> for Assignment
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 Assignment
Source§impl PartialEq for Assignment
impl PartialEq for Assignment
Source§impl Serialize for Assignment
impl Serialize for Assignment
impl StructuralPartialEq for Assignment
Auto Trait Implementations§
impl Freeze for Assignment
impl RefUnwindSafe for Assignment
impl Send for Assignment
impl Sync for Assignment
impl Unpin for Assignment
impl UnsafeUnpin for Assignment
impl UnwindSafe for Assignment
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