pub struct WorkspaceConfiguration {
pub contract_version: u32,
pub ontology_mode: WorkspaceOntologyMode,
pub capability_configuration: BTreeMap<String, Value>,
pub embedding_configuration: BTreeMap<String, Value>,
}Expand description
Canonical authoritative project configuration participant.
Fields§
§contract_version: u32Frozen record contract version.
ontology_mode: WorkspaceOntologyModeMust match the ontology participant mode.
capability_configuration: BTreeMap<String, Value>Registered capability settings ordered by stable capability ID.
embedding_configuration: BTreeMap<String, Value>Registered embedding settings ordered by stable setting ID.
Implementations§
Source§impl WorkspaceConfiguration
impl WorkspaceConfiguration
Trait Implementations§
Source§impl Clone for WorkspaceConfiguration
impl Clone for WorkspaceConfiguration
Source§impl Debug for WorkspaceConfiguration
impl Debug for WorkspaceConfiguration
Source§impl<'de> Deserialize<'de> for WorkspaceConfiguration
impl<'de> Deserialize<'de> for WorkspaceConfiguration
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
Source§impl PartialEq for WorkspaceConfiguration
impl PartialEq for WorkspaceConfiguration
Source§impl Serialize for WorkspaceConfiguration
impl Serialize for WorkspaceConfiguration
impl StructuralPartialEq for WorkspaceConfiguration
Auto Trait Implementations§
impl Freeze for WorkspaceConfiguration
impl RefUnwindSafe for WorkspaceConfiguration
impl Send for WorkspaceConfiguration
impl Sync for WorkspaceConfiguration
impl Unpin for WorkspaceConfiguration
impl UnsafeUnpin for WorkspaceConfiguration
impl UnwindSafe for WorkspaceConfiguration
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> 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