pub struct StableToken {
pub app_id: String,
pub secret: String,
pub end_point: String,
pub force_refresh: bool,
/* private fields */
}Expand description
稳定版接口调用凭据 官方文档
Fields§
§app_id: String§secret: String§end_point: String§force_refresh: boolImplementations§
Source§impl StableToken
impl StableToken
Trait Implementations§
Source§impl Clone for StableToken
impl Clone for StableToken
Source§fn clone(&self) -> StableToken
fn clone(&self) -> StableToken
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 StableToken
impl !RefUnwindSafe for StableToken
impl Send for StableToken
impl Sync for StableToken
impl Unpin for StableToken
impl !UnwindSafe for StableToken
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