#[non_exhaustive]pub enum OkModelingCmdResponse {
Show 47 variants
Empty,
Export(Export),
SelectWithPoint(SelectWithPoint),
HighlightSetEntity(HighlightSetEntity),
EntityGetChildUuid(EntityGetChildUuid),
EntityGetNumChildren(EntityGetNumChildren),
EntityGetParentId(EntityGetParentId),
EntityGetAllChildUuids(EntityGetAllChildUuids),
CameraDragMove(CameraDragMove),
CameraDragEnd(CameraDragEnd),
DefaultCameraGetSettings(DefaultCameraGetSettings),
DefaultCameraZoom(DefaultCameraZoom),
GetNumObjects(GetNumObjects),
DefaultCameraFocusOn(DefaultCameraFocusOn),
SelectGet(SelectGet),
Solid3dGetAllEdgeFaces(Solid3dGetAllEdgeFaces),
Solid3dGetAllOppositeEdges(Solid3dGetAllOppositeEdges),
Solid3dGetOppositeEdge(Solid3dGetOppositeEdge),
Solid3dGetNextAdjacentEdge(Solid3dGetNextAdjacentEdge),
Solid3dGetPrevAdjacentEdge(Solid3dGetPrevAdjacentEdge),
GetEntityType(GetEntityType),
CurveGetControlPoints(CurveGetControlPoints),
CurveGetType(CurveGetType),
MouseClick(MouseClick),
TakeSnapshot(TakeSnapshot),
PathGetInfo(PathGetInfo),
PathSegmentInfo(PathSegmentInfo),
PathGetCurveUuidsForVertices(PathGetCurveUuidsForVertices),
PathGetVertexUuids(PathGetVertexUuids),
CurveGetEndPoints(CurveGetEndPoints),
FaceIsPlanar(FaceIsPlanar),
FaceGetPosition(FaceGetPosition),
FaceGetGradient(FaceGetGradient),
PlaneIntersectAndProject(PlaneIntersectAndProject),
ImportFiles(ImportFiles),
ImportedGeometry(ImportedGeometry),
Mass(Mass),
Volume(Volume),
Density(Density),
SurfaceArea(SurfaceArea),
CenterOfMass(CenterOfMass),
GetSketchModePlane(GetSketchModePlane),
EntityGetDistance(EntityGetDistance),
EntityLinearPattern(EntityLinearPattern),
EntityCircularPattern(EntityCircularPattern),
Solid3dGetExtrusionFaceInfo(Solid3dGetExtrusionFaceInfo),
ExtrusionFaceInfo(ExtrusionFaceInfo),
}Expand description
A successful response from a modeling command. This can be one of several types of responses, depending on the command.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Empty
An empty response, used for any command that does not explicitly have a response defined here.
Export(Export)
The response to the ‘Export’ endpoint
SelectWithPoint(SelectWithPoint)
The response to the ‘SelectWithPoint’ endpoint
HighlightSetEntity(HighlightSetEntity)
The response to the ‘HighlightSetEntity’ endpoint
EntityGetChildUuid(EntityGetChildUuid)
The response to the ‘EntityGetChildUuid’ endpoint
EntityGetNumChildren(EntityGetNumChildren)
The response to the ‘EntityGetNumChildren’ endpoint
EntityGetParentId(EntityGetParentId)
The response to the ‘EntityGetParentId’ endpoint
EntityGetAllChildUuids(EntityGetAllChildUuids)
The response to the ‘EntityGetAllChildUuids’ endpoint
CameraDragMove(CameraDragMove)
The response to the ‘CameraDragMove’ endpoint
CameraDragEnd(CameraDragEnd)
The response to the ‘CameraDragEnd’ endpoint
DefaultCameraGetSettings(DefaultCameraGetSettings)
The response to the ‘DefaultCameraGetSettings’ endpoint
DefaultCameraZoom(DefaultCameraZoom)
The response to the ‘DefaultCameraZoom’ endpoint
GetNumObjects(GetNumObjects)
The response to the ‘GetNumObjects’ endpoint
DefaultCameraFocusOn(DefaultCameraFocusOn)
The response to the ‘DefaultCameraFocusOn’ endpoint
SelectGet(SelectGet)
The response to the ‘SelectGet’ endpoint
Solid3dGetAllEdgeFaces(Solid3dGetAllEdgeFaces)
The response to the ‘Solid3dGetAllEdgeFaces’ endpoint
Solid3dGetAllOppositeEdges(Solid3dGetAllOppositeEdges)
The response to the ‘Solid3dGetAllOppositeEdges’ endpoint
Solid3dGetOppositeEdge(Solid3dGetOppositeEdge)
The response to the ‘Solid3dGetOppositeEdge’ endpoint
Solid3dGetNextAdjacentEdge(Solid3dGetNextAdjacentEdge)
The response to the ‘Solid3dGetNextAdjacentEdge’ endpoint
Solid3dGetPrevAdjacentEdge(Solid3dGetPrevAdjacentEdge)
The response to the ‘Solid3dGetPrevAdjacentEdge’ endpoint
GetEntityType(GetEntityType)
The response to the ‘GetEntityType’ endpoint
CurveGetControlPoints(CurveGetControlPoints)
The response to the ‘CurveGetControlPoints’ endpoint
CurveGetType(CurveGetType)
The response to the ‘CurveGetType’ endpoint
MouseClick(MouseClick)
The response to the ‘MouseClick’ endpoint
TakeSnapshot(TakeSnapshot)
The response to the ‘TakeSnapshot’ endpoint
PathGetInfo(PathGetInfo)
The response to the ‘PathGetInfo’ endpoint
PathSegmentInfo(PathSegmentInfo)
The response to the ‘PathSegmentInfo’ endpoint
PathGetCurveUuidsForVertices(PathGetCurveUuidsForVertices)
The response to the ‘PathGetCurveUuidsForVertices’ endpoint
PathGetVertexUuids(PathGetVertexUuids)
The response to the ‘PathGetVertexUuids’ endpoint
CurveGetEndPoints(CurveGetEndPoints)
The response to the ‘CurveGetEndPoints’ endpoint
FaceIsPlanar(FaceIsPlanar)
The response to the ‘FaceIsPlanar’ endpoint
FaceGetPosition(FaceGetPosition)
The response to the ‘FaceGetPosition’ endpoint
FaceGetGradient(FaceGetGradient)
The response to the ‘FaceGetGradient’ endpoint
PlaneIntersectAndProject(PlaneIntersectAndProject)
The response to the ‘PlaneIntersectAndProject’ endpoint
ImportFiles(ImportFiles)
The response to the ‘ImportFiles’ endpoint
ImportedGeometry(ImportedGeometry)
The response to the ‘ImportedGeometry’ endpoint
Mass(Mass)
The response to the ‘Mass’ endpoint
Volume(Volume)
The response to the ‘Volume’ endpoint
Density(Density)
The response to the ‘Density’ endpoint
SurfaceArea(SurfaceArea)
The response to the ‘SurfaceArea’ endpoint
CenterOfMass(CenterOfMass)
The response to the ‘CenterOfMass’ endpoint
GetSketchModePlane(GetSketchModePlane)
The response to the ‘GetSketchModePlane’ endpoint
EntityGetDistance(EntityGetDistance)
The response to the ‘EntityGetDistance’ endpoint
EntityLinearPattern(EntityLinearPattern)
The response to the ‘EntityLinearPattern’ endpoint
EntityCircularPattern(EntityCircularPattern)
The response to the ‘EntityCircularPattern’ endpoint
Solid3dGetExtrusionFaceInfo(Solid3dGetExtrusionFaceInfo)
The response to the ‘Solid3dGetExtrusionFaceInfo’ endpoint
ExtrusionFaceInfo(ExtrusionFaceInfo)
The response to the ‘ExtrusionFaceInfo’ endpoint
Trait Implementations§
source§impl Debug for OkModelingCmdResponse
impl Debug for OkModelingCmdResponse
source§impl<'de> Deserialize<'de> for OkModelingCmdResponse
impl<'de> Deserialize<'de> for OkModelingCmdResponse
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>,
source§impl From<()> for OkModelingCmdResponse
impl From<()> for OkModelingCmdResponse
source§impl From<CameraDragEnd> for OkModelingCmdResponse
impl From<CameraDragEnd> for OkModelingCmdResponse
source§fn from(x: CameraDragEnd) -> Self
fn from(x: CameraDragEnd) -> Self
source§impl From<CameraDragMove> for OkModelingCmdResponse
impl From<CameraDragMove> for OkModelingCmdResponse
source§fn from(x: CameraDragMove) -> Self
fn from(x: CameraDragMove) -> Self
source§impl From<CenterOfMass> for OkModelingCmdResponse
impl From<CenterOfMass> for OkModelingCmdResponse
source§fn from(x: CenterOfMass) -> Self
fn from(x: CenterOfMass) -> Self
source§impl From<CurveGetControlPoints> for OkModelingCmdResponse
impl From<CurveGetControlPoints> for OkModelingCmdResponse
source§fn from(x: CurveGetControlPoints) -> Self
fn from(x: CurveGetControlPoints) -> Self
source§impl From<CurveGetEndPoints> for OkModelingCmdResponse
impl From<CurveGetEndPoints> for OkModelingCmdResponse
source§fn from(x: CurveGetEndPoints) -> Self
fn from(x: CurveGetEndPoints) -> Self
source§impl From<CurveGetType> for OkModelingCmdResponse
impl From<CurveGetType> for OkModelingCmdResponse
source§fn from(x: CurveGetType) -> Self
fn from(x: CurveGetType) -> Self
source§impl From<DefaultCameraFocusOn> for OkModelingCmdResponse
impl From<DefaultCameraFocusOn> for OkModelingCmdResponse
source§fn from(x: DefaultCameraFocusOn) -> Self
fn from(x: DefaultCameraFocusOn) -> Self
source§impl From<DefaultCameraGetSettings> for OkModelingCmdResponse
impl From<DefaultCameraGetSettings> for OkModelingCmdResponse
source§fn from(x: DefaultCameraGetSettings) -> Self
fn from(x: DefaultCameraGetSettings) -> Self
source§impl From<DefaultCameraZoom> for OkModelingCmdResponse
impl From<DefaultCameraZoom> for OkModelingCmdResponse
source§fn from(x: DefaultCameraZoom) -> Self
fn from(x: DefaultCameraZoom) -> Self
source§impl From<Density> for OkModelingCmdResponse
impl From<Density> for OkModelingCmdResponse
source§impl From<EntityCircularPattern> for OkModelingCmdResponse
impl From<EntityCircularPattern> for OkModelingCmdResponse
source§fn from(x: EntityCircularPattern) -> Self
fn from(x: EntityCircularPattern) -> Self
source§impl From<EntityGetAllChildUuids> for OkModelingCmdResponse
impl From<EntityGetAllChildUuids> for OkModelingCmdResponse
source§fn from(x: EntityGetAllChildUuids) -> Self
fn from(x: EntityGetAllChildUuids) -> Self
source§impl From<EntityGetChildUuid> for OkModelingCmdResponse
impl From<EntityGetChildUuid> for OkModelingCmdResponse
source§fn from(x: EntityGetChildUuid) -> Self
fn from(x: EntityGetChildUuid) -> Self
source§impl From<EntityGetDistance> for OkModelingCmdResponse
impl From<EntityGetDistance> for OkModelingCmdResponse
source§fn from(x: EntityGetDistance) -> Self
fn from(x: EntityGetDistance) -> Self
source§impl From<EntityGetNumChildren> for OkModelingCmdResponse
impl From<EntityGetNumChildren> for OkModelingCmdResponse
source§fn from(x: EntityGetNumChildren) -> Self
fn from(x: EntityGetNumChildren) -> Self
source§impl From<EntityGetParentId> for OkModelingCmdResponse
impl From<EntityGetParentId> for OkModelingCmdResponse
source§fn from(x: EntityGetParentId) -> Self
fn from(x: EntityGetParentId) -> Self
source§impl From<EntityLinearPattern> for OkModelingCmdResponse
impl From<EntityLinearPattern> for OkModelingCmdResponse
source§fn from(x: EntityLinearPattern) -> Self
fn from(x: EntityLinearPattern) -> Self
source§impl From<Export> for OkModelingCmdResponse
impl From<Export> for OkModelingCmdResponse
source§impl From<ExtrusionFaceInfo> for OkModelingCmdResponse
impl From<ExtrusionFaceInfo> for OkModelingCmdResponse
source§fn from(x: ExtrusionFaceInfo) -> Self
fn from(x: ExtrusionFaceInfo) -> Self
source§impl From<FaceGetGradient> for OkModelingCmdResponse
impl From<FaceGetGradient> for OkModelingCmdResponse
source§fn from(x: FaceGetGradient) -> Self
fn from(x: FaceGetGradient) -> Self
source§impl From<FaceGetPosition> for OkModelingCmdResponse
impl From<FaceGetPosition> for OkModelingCmdResponse
source§fn from(x: FaceGetPosition) -> Self
fn from(x: FaceGetPosition) -> Self
source§impl From<FaceIsPlanar> for OkModelingCmdResponse
impl From<FaceIsPlanar> for OkModelingCmdResponse
source§fn from(x: FaceIsPlanar) -> Self
fn from(x: FaceIsPlanar) -> Self
source§impl From<GetEntityType> for OkModelingCmdResponse
impl From<GetEntityType> for OkModelingCmdResponse
source§fn from(x: GetEntityType) -> Self
fn from(x: GetEntityType) -> Self
source§impl From<GetNumObjects> for OkModelingCmdResponse
impl From<GetNumObjects> for OkModelingCmdResponse
source§fn from(x: GetNumObjects) -> Self
fn from(x: GetNumObjects) -> Self
source§impl From<GetSketchModePlane> for OkModelingCmdResponse
impl From<GetSketchModePlane> for OkModelingCmdResponse
source§fn from(x: GetSketchModePlane) -> Self
fn from(x: GetSketchModePlane) -> Self
source§impl From<HighlightSetEntity> for OkModelingCmdResponse
impl From<HighlightSetEntity> for OkModelingCmdResponse
source§fn from(x: HighlightSetEntity) -> Self
fn from(x: HighlightSetEntity) -> Self
source§impl From<ImportFiles> for OkModelingCmdResponse
impl From<ImportFiles> for OkModelingCmdResponse
source§fn from(x: ImportFiles) -> Self
fn from(x: ImportFiles) -> Self
source§impl From<ImportedGeometry> for OkModelingCmdResponse
impl From<ImportedGeometry> for OkModelingCmdResponse
source§fn from(x: ImportedGeometry) -> Self
fn from(x: ImportedGeometry) -> Self
source§impl From<Mass> for OkModelingCmdResponse
impl From<Mass> for OkModelingCmdResponse
source§impl From<MouseClick> for OkModelingCmdResponse
impl From<MouseClick> for OkModelingCmdResponse
source§fn from(x: MouseClick) -> Self
fn from(x: MouseClick) -> Self
source§impl From<PathGetCurveUuidsForVertices> for OkModelingCmdResponse
impl From<PathGetCurveUuidsForVertices> for OkModelingCmdResponse
source§fn from(x: PathGetCurveUuidsForVertices) -> Self
fn from(x: PathGetCurveUuidsForVertices) -> Self
source§impl From<PathGetInfo> for OkModelingCmdResponse
impl From<PathGetInfo> for OkModelingCmdResponse
source§fn from(x: PathGetInfo) -> Self
fn from(x: PathGetInfo) -> Self
source§impl From<PathGetVertexUuids> for OkModelingCmdResponse
impl From<PathGetVertexUuids> for OkModelingCmdResponse
source§fn from(x: PathGetVertexUuids) -> Self
fn from(x: PathGetVertexUuids) -> Self
source§impl From<PathSegmentInfo> for OkModelingCmdResponse
impl From<PathSegmentInfo> for OkModelingCmdResponse
source§fn from(x: PathSegmentInfo) -> Self
fn from(x: PathSegmentInfo) -> Self
source§impl From<PlaneIntersectAndProject> for OkModelingCmdResponse
impl From<PlaneIntersectAndProject> for OkModelingCmdResponse
source§fn from(x: PlaneIntersectAndProject) -> Self
fn from(x: PlaneIntersectAndProject) -> Self
source§impl From<SelectGet> for OkModelingCmdResponse
impl From<SelectGet> for OkModelingCmdResponse
source§impl From<SelectWithPoint> for OkModelingCmdResponse
impl From<SelectWithPoint> for OkModelingCmdResponse
source§fn from(x: SelectWithPoint) -> Self
fn from(x: SelectWithPoint) -> Self
source§impl From<Solid3dGetAllEdgeFaces> for OkModelingCmdResponse
impl From<Solid3dGetAllEdgeFaces> for OkModelingCmdResponse
source§fn from(x: Solid3dGetAllEdgeFaces) -> Self
fn from(x: Solid3dGetAllEdgeFaces) -> Self
source§impl From<Solid3dGetAllOppositeEdges> for OkModelingCmdResponse
impl From<Solid3dGetAllOppositeEdges> for OkModelingCmdResponse
source§fn from(x: Solid3dGetAllOppositeEdges) -> Self
fn from(x: Solid3dGetAllOppositeEdges) -> Self
source§impl From<Solid3dGetExtrusionFaceInfo> for OkModelingCmdResponse
impl From<Solid3dGetExtrusionFaceInfo> for OkModelingCmdResponse
source§fn from(x: Solid3dGetExtrusionFaceInfo) -> Self
fn from(x: Solid3dGetExtrusionFaceInfo) -> Self
source§impl From<Solid3dGetNextAdjacentEdge> for OkModelingCmdResponse
impl From<Solid3dGetNextAdjacentEdge> for OkModelingCmdResponse
source§fn from(x: Solid3dGetNextAdjacentEdge) -> Self
fn from(x: Solid3dGetNextAdjacentEdge) -> Self
source§impl From<Solid3dGetOppositeEdge> for OkModelingCmdResponse
impl From<Solid3dGetOppositeEdge> for OkModelingCmdResponse
source§fn from(x: Solid3dGetOppositeEdge) -> Self
fn from(x: Solid3dGetOppositeEdge) -> Self
source§impl From<Solid3dGetPrevAdjacentEdge> for OkModelingCmdResponse
impl From<Solid3dGetPrevAdjacentEdge> for OkModelingCmdResponse
source§fn from(x: Solid3dGetPrevAdjacentEdge) -> Self
fn from(x: Solid3dGetPrevAdjacentEdge) -> Self
source§impl From<SurfaceArea> for OkModelingCmdResponse
impl From<SurfaceArea> for OkModelingCmdResponse
source§fn from(x: SurfaceArea) -> Self
fn from(x: SurfaceArea) -> Self
source§impl From<TakeSnapshot> for OkModelingCmdResponse
impl From<TakeSnapshot> for OkModelingCmdResponse
source§fn from(x: TakeSnapshot) -> Self
fn from(x: TakeSnapshot) -> Self
source§impl From<Volume> for OkModelingCmdResponse
impl From<Volume> for OkModelingCmdResponse
source§impl JsonSchema for OkModelingCmdResponse
impl JsonSchema for OkModelingCmdResponse
source§fn schema_name() -> String
fn schema_name() -> String
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moresource§impl Serialize for OkModelingCmdResponse
impl Serialize for OkModelingCmdResponse
source§impl Value for OkModelingCmdResponse
impl Value for OkModelingCmdResponse
source§fn into_parts(self) -> Vec<Primitive>
fn into_parts(self) -> Vec<Primitive>
source§fn from_parts<I>(values: &mut I) -> Result<(Self, usize), MemoryError>
fn from_parts<I>(values: &mut I) -> Result<(Self, usize), MemoryError>
Auto Trait Implementations§
impl Freeze for OkModelingCmdResponse
impl RefUnwindSafe for OkModelingCmdResponse
impl Send for OkModelingCmdResponse
impl Sync for OkModelingCmdResponse
impl Unpin for OkModelingCmdResponse
impl UnwindSafe for OkModelingCmdResponse
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
source§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
self to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
&self to an expression for Diesel’s query builder. Read more