pub struct ManagedConfigV1 {
pub cloud_url: Option<String>,
pub cloud_root_key: Option<String>,
pub cloud_org: Option<String>,
pub cloud_idp_hint: Option<String>,
pub cloud_require: Option<bool>,
pub workspace_vaults: Vec<String>,
pub updates_mode: Option<ManagedUpdateModeV1>,
pub updates_feed_base: Option<String>,
pub telemetry_metrics_upload: Option<bool>,
pub telemetry_receipts_upload: Option<bool>,
}Expand description
A validated managed configuration. None/empty: not managed.
Fields§
§cloud_url: Option<String>Cloud web origin; wins over [cloud] url.
cloud_root_key: Option<String>Base64 Ed25519 root key; wins over [cloud] root_key.
cloud_org: Option<String>The only org this machine may connect to (org wire id).
cloud_idp_hint: Option<String>Identity-provider hint for sign-in.
cloud_require: Option<bool>Tools refuse until this machine is signed in with a live lease and a policy floor is installed.
workspace_vaults: Vec<String>§updates_mode: Option<ManagedUpdateModeV1>§updates_feed_base: Option<String>§telemetry_metrics_upload: Option<bool>§telemetry_receipts_upload: Option<bool>Implementations§
Source§impl ManagedConfigV1
impl ManagedConfigV1
Sourcepub fn from_members(
members: &Map<String, Value>,
) -> Result<Self, ValidationError>
pub fn from_members( members: &Map<String, Value>, ) -> Result<Self, ValidationError>
Parse the members a carrier holds. schema, when present, must be
MANAGED_CONFIG_SCHEMA.
Trait Implementations§
Source§impl Clone for ManagedConfigV1
impl Clone for ManagedConfigV1
Source§impl Debug for ManagedConfigV1
impl Debug for ManagedConfigV1
Source§impl Default for ManagedConfigV1
impl Default for ManagedConfigV1
Source§impl<'de> Deserialize<'de> for ManagedConfigV1
impl<'de> Deserialize<'de> for ManagedConfigV1
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
impl Eq for ManagedConfigV1
Source§impl PartialEq for ManagedConfigV1
impl PartialEq for ManagedConfigV1
Source§impl Serialize for ManagedConfigV1
impl Serialize for ManagedConfigV1
impl StructuralPartialEq for ManagedConfigV1
Auto Trait Implementations§
impl Forget for ManagedConfigV1
impl Freeze for ManagedConfigV1
impl Move for ManagedConfigV1
impl RefUnwindSafe for ManagedConfigV1
impl Send for ManagedConfigV1where
RawVecInner: Send,
impl Sync for ManagedConfigV1where
RawVecInner: Sync,
impl Unpin for ManagedConfigV1
impl UnsafeUnpin for ManagedConfigV1where
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for ManagedConfigV1where
RawVecInner: 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