pub struct ManagedConfigV1 {
pub hive_url: Option<String>,
pub hive_root_key: Option<String>,
pub hive_org: Option<String>,
pub hive_idp_hint: Option<String>,
pub hive_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§
§hive_url: Option<String>Hive web origin; wins over [hive] url.
hive_root_key: Option<String>Base64 Ed25519 root key; wins over [hive] root_key.
hive_org: Option<String>The only org this machine may connect to (org wire id).
hive_idp_hint: Option<String>Identity-provider hint for sign-in.
hive_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 ManagedConfigV1
impl Sync for ManagedConfigV1
impl Unpin for ManagedConfigV1
impl UnsafeUnpin for ManagedConfigV1
impl UnwindSafe for ManagedConfigV1
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