pub struct AuthUpdates {
pub cloud_api_key: Option<String>,
pub cloud_url: Option<String>,
pub site_url: Option<String>,
pub upgrade_url: Option<String>,
pub hybrid_mode: Option<String>,
pub hybrid_execution: Option<String>,
pub hybrid_semantic: Option<bool>,
pub hybrid_semantic_timeout_ms: Option<i32>,
pub hybrid_semantic_cache_size: Option<i32>,
pub compute: Option<String>,
pub hf_token: Option<String>,
pub modelscope_api_token: Option<String>,
}Expand description
Partial merge. None fields are omitted.
Fields§
§cloud_api_key: Option<String>§cloud_url: Option<String>§site_url: Option<String>§upgrade_url: Option<String>§hybrid_mode: Option<String>§hybrid_execution: Option<String>§hybrid_semantic: Option<bool>§hybrid_semantic_timeout_ms: Option<i32>§hybrid_semantic_cache_size: Option<i32>§compute: Option<String>§hf_token: Option<String>§modelscope_api_token: Option<String>Trait Implementations§
Source§impl Clone for AuthUpdates
impl Clone for AuthUpdates
Source§fn clone(&self) -> AuthUpdates
fn clone(&self) -> AuthUpdates
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 moreSource§impl Debug for AuthUpdates
impl Debug for AuthUpdates
Source§impl Default for AuthUpdates
impl Default for AuthUpdates
Source§fn default() -> AuthUpdates
fn default() -> AuthUpdates
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AuthUpdates
impl RefUnwindSafe for AuthUpdates
impl Send for AuthUpdates
impl Sync for AuthUpdates
impl Unpin for AuthUpdates
impl UnsafeUnpin for AuthUpdates
impl UnwindSafe for AuthUpdates
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more