pub struct Config {
pub current_project: Option<Project>,
pub current_frontend_app: Option<FrontendApp>,
pub current_auth_app: Option<AuthApp>,
pub current_tenant: Option<Tenant>,
}Fields§
§current_project: Option<Project>Legacy project field — kept for backward compatibility during migration.
current_frontend_app: Option<FrontendApp>The active FrontendApp for CLI deploy operations.
current_auth_app: Option<AuthApp>§current_tenant: Option<Tenant>The tenant selected with smb tenant use. Determines which workspace
tenant-scoped operations (e.g. smb project new) target — the API
falls back to the user’s personal tenant when this isn’t set.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
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 Forget for Config
impl Freeze for Configwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
NonZero<i32>: Freeze,
Utc: Freeze,
PhantomData<(String, Value)>: Freeze,
PhantomData<FrontendApp>: Freeze,
PhantomData<i32>: Freeze,
impl Move for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Configwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
PhantomData<(String, Value)>: UnsafeUnpin,
PhantomData<FrontendApp>: UnsafeUnpin,
PhantomData<i32>: UnsafeUnpin,
impl UnwindSafe for Configwhere
RawVecInner: UnwindSafe,
NonZero<i32>: UnwindSafe,
Utc: UnwindSafe,
HashMap<String, Value>: UnwindSafe,
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