pub struct YmusicSecrets {
pub refresh_token: String,
}Expand description
YouTube Music’s credential shape. The device-flow refresh token
is the only per-user secret; the OAuth client_id / client_secret
are TVHTML5 constants shared across every install (see
zad::service::ymusic::oauth_device) and therefore not stored.
Fields§
§refresh_token: StringAuto Trait Implementations§
impl Freeze for YmusicSecrets
impl RefUnwindSafe for YmusicSecrets
impl Send for YmusicSecrets
impl Sync for YmusicSecrets
impl Unpin for YmusicSecrets
impl UnsafeUnpin for YmusicSecrets
impl UnwindSafe for YmusicSecrets
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