pub struct ControlState { /* private fields */ }Implementations§
Source§impl ControlState
impl ControlState
pub fn new(refresh_trigger: RefreshTrigger, auth_token: Option<String>) -> Self
Trait Implementations§
Source§impl Clone for ControlState
impl Clone for ControlState
Source§fn clone(&self) -> ControlState
fn clone(&self) -> ControlState
Returns a duplicate of the value. Read more
1.0.0 · 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 ControlState
impl !RefUnwindSafe for ControlState
impl Send for ControlState
impl Sync for ControlState
impl Unpin for ControlState
impl !UnwindSafe for ControlState
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