pub struct EmitOptions {
pub endpoint: String,
pub scope: Option<String>,
pub inline_token: bool,
pub api_key: Option<String>,
}Expand description
Options controlling emit shape.
Fields§
§endpoint: StringBase App endpoint, e.g., https://cleanapp.clnstrt.dev. Trailing slash
is tolerated.
scope: Option<String>Optional npm scope (e.g., @my-org). Only applies to npm emit.
inline_token: boolIf true, embed api_key literal in the emitted config (use for CI
runners without env-var support). If false, emit
${CLEANLIBRARY_API_KEY} shell-expansion (default; preferred).
api_key: Option<String>API-key value to embed when inline_token = true. Ignored otherwise.
Auto Trait Implementations§
impl Freeze for EmitOptions
impl RefUnwindSafe for EmitOptions
impl Send for EmitOptions
impl Sync for EmitOptions
impl Unpin for EmitOptions
impl UnsafeUnpin for EmitOptions
impl UnwindSafe for EmitOptions
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