pub struct RegistrationToken {
pub token: String,
pub register_url: String,
pub expires_in_seconds: Option<u64>,
}Fields§
§token: String§register_url: StringURL the runner CLI expects (e.g. https://gitlab.com or
https://github.com/
expires_in_seconds: Option<u64>Expiry hint in seconds, when the platform reports one. GitHub gives ~1h; GitLab tokens don’t expire until you regenerate.
Trait Implementations§
Source§impl Clone for RegistrationToken
impl Clone for RegistrationToken
Source§fn clone(&self) -> RegistrationToken
fn clone(&self) -> RegistrationToken
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RegistrationToken
impl RefUnwindSafe for RegistrationToken
impl Send for RegistrationToken
impl Sync for RegistrationToken
impl Unpin for RegistrationToken
impl UnsafeUnpin for RegistrationToken
impl UnwindSafe for RegistrationToken
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