pub struct SuperGrokConfig {
pub enabled: bool,
pub grok_binary: PathBuf,
pub auth_path: Option<PathBuf>,
pub config_path: Option<PathBuf>,
}Expand description
SuperGrok subscription auth — no API key of its own. Billing and banked
resets use the key already in Grok Build’s auth.json (read-only).
Login, issuer, proxy, and token rotation stay inside Grok Build.
Opt-in like Cursor/Kiro (enabled defaults to false): it requires a
separate official executable and signed-in session, so it stays off until
the user explicitly turns it on.
Fields§
§enabled: bool§grok_binary: PathBufTrusted official Grok Build executable. Defaults to its canonical
$GROK_HOME/bin/grok (or ~/.grok/bin/grok) installation path instead
of searching PATH, where unrelated programs can share the name.
auth_path: Option<PathBuf>Opaque auth/config files used only to fingerprint the active cache scope. Their contents are never parsed or copied to the cache.
config_path: Option<PathBuf>Trait Implementations§
Source§impl Clone for SuperGrokConfig
impl Clone for SuperGrokConfig
Source§fn clone(&self) -> SuperGrokConfig
fn clone(&self) -> SuperGrokConfig
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 SuperGrokConfig
impl Debug for SuperGrokConfig
Source§impl Default for SuperGrokConfig
impl Default for SuperGrokConfig
Source§impl<'de> Deserialize<'de> for SuperGrokConfigwhere
SuperGrokConfig: Default,
impl<'de> Deserialize<'de> for SuperGrokConfigwhere
SuperGrokConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SuperGrokConfig
impl RefUnwindSafe for SuperGrokConfig
impl Send for SuperGrokConfig
impl Sync for SuperGrokConfig
impl Unpin for SuperGrokConfig
impl UnsafeUnpin for SuperGrokConfig
impl UnwindSafe for SuperGrokConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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