pub struct PolicyToken {
pub token: Secret<String>,
pub expires_at_ms: i64,
pub repositories: Vec<String>,
pub permissions: BTreeMap<String, String>,
}Fields§
§token: Secret<String>§expires_at_ms: i64§repositories: Vec<String>§permissions: BTreeMap<String, String>Trait Implementations§
Auto Trait Implementations§
impl Forget for PolicyToken
impl Freeze for PolicyTokenwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
impl Move for PolicyToken
impl RefUnwindSafe for PolicyToken
impl Send for PolicyToken
impl Sync for PolicyToken
impl Unpin for PolicyToken
impl UnsafeUnpin for PolicyTokenwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
impl UnwindSafe for PolicyToken
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