pub struct PackBuildInput {Show 16 fields
pub org_id: String,
pub domain_id: String,
pub pack_version: String,
pub meaning_version: String,
pub approval: ApprovalState,
pub concepts: Vec<ConceptDef>,
pub relations: Vec<RelationDef>,
pub metrics: Vec<MetricDef>,
pub dimensions: Vec<DimensionDef>,
pub units: Vec<UnitDef>,
pub aliases: Vec<AliasDef>,
pub mapping_rules: Vec<MappingRuleDef>,
pub review_records: Vec<ReviewRecord>,
pub previous_pack: Option<SemanticPack>,
pub allow_first_approved_version: bool,
pub source_graph_hash: String,
}Expand description
Input for building a semantic pack.
Fields§
§org_id: String§domain_id: String§pack_version: String§meaning_version: String§approval: ApprovalState§concepts: Vec<ConceptDef>§relations: Vec<RelationDef>§metrics: Vec<MetricDef>§dimensions: Vec<DimensionDef>§units: Vec<UnitDef>§aliases: Vec<AliasDef>§mapping_rules: Vec<MappingRuleDef>§review_records: Vec<ReviewRecord>§previous_pack: Option<SemanticPack>§allow_first_approved_version: bool§source_graph_hash: StringTrait Implementations§
Source§impl Clone for PackBuildInput
impl Clone for PackBuildInput
Source§impl Debug for PackBuildInput
impl Debug for PackBuildInput
Source§impl<'de> Deserialize<'de> for PackBuildInput
impl<'de> Deserialize<'de> for PackBuildInput
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 Freeze for PackBuildInput
impl RefUnwindSafe for PackBuildInput
impl Send for PackBuildInput
impl Sync for PackBuildInput
impl Unpin for PackBuildInput
impl UnsafeUnpin for PackBuildInput
impl UnwindSafe for PackBuildInput
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