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 PolicyToken
impl Move for PolicyToken
impl RefUnwindSafe for PolicyToken
impl Send for PolicyToken
impl Sync for PolicyToken
impl Unpin for PolicyToken
impl UnsafeUnpin for PolicyToken
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