pub struct Granted {
pub token: Secret,
pub scopes: Vec<String>,
}Expand description
A token and the scopes GitHub granted with it.
Fields§
§token: Secret§scopes: Vec<String>Trait Implementations§
impl Eq for Granted
impl StructuralPartialEq for Granted
Auto Trait Implementations§
impl Forget for Granted
impl Freeze for Granted
impl Move for Granted
impl RefUnwindSafe for Granted
impl Send for Granted
impl Sync for Granted
impl Unpin for Granted
impl UnsafeUnpin for Granted
impl UnwindSafe for Granted
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