#[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
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

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

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for OkModelingCmdResponse

source§

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 From<()> for OkModelingCmdResponse

source§

fn from(_: ()) -> Self

Converts to this type from the input type.
source§

impl From<CameraDragEnd> for OkModelingCmdResponse

source§

fn from(x: CameraDragEnd) -> Self

Converts to this type from the input type.
source§

impl From<CameraDragMove> for OkModelingCmdResponse

source§

fn from(x: CameraDragMove) -> Self

Converts to this type from the input type.
source§

impl From<CenterOfMass> for OkModelingCmdResponse

source§

fn from(x: CenterOfMass) -> Self

Converts to this type from the input type.
source§

impl From<CurveGetControlPoints> for OkModelingCmdResponse

source§

fn from(x: CurveGetControlPoints) -> Self

Converts to this type from the input type.
source§

impl From<CurveGetEndPoints> for OkModelingCmdResponse

source§

fn from(x: CurveGetEndPoints) -> Self

Converts to this type from the input type.
source§

impl From<CurveGetType> for OkModelingCmdResponse

source§

fn from(x: CurveGetType) -> Self

Converts to this type from the input type.
source§

impl From<DefaultCameraFocusOn> for OkModelingCmdResponse

source§

fn from(x: DefaultCameraFocusOn) -> Self

Converts to this type from the input type.
source§

impl From<DefaultCameraGetSettings> for OkModelingCmdResponse

source§

fn from(x: DefaultCameraGetSettings) -> Self

Converts to this type from the input type.
source§

impl From<DefaultCameraZoom> for OkModelingCmdResponse

source§

fn from(x: DefaultCameraZoom) -> Self

Converts to this type from the input type.
source§

impl From<Density> for OkModelingCmdResponse

source§

fn from(x: Density) -> Self

Converts to this type from the input type.
source§

impl From<EntityCircularPattern> for OkModelingCmdResponse

source§

fn from(x: EntityCircularPattern) -> Self

Converts to this type from the input type.
source§

impl From<EntityGetAllChildUuids> for OkModelingCmdResponse

source§

fn from(x: EntityGetAllChildUuids) -> Self

Converts to this type from the input type.
source§

impl From<EntityGetChildUuid> for OkModelingCmdResponse

source§

fn from(x: EntityGetChildUuid) -> Self

Converts to this type from the input type.
source§

impl From<EntityGetDistance> for OkModelingCmdResponse

source§

fn from(x: EntityGetDistance) -> Self

Converts to this type from the input type.
source§

impl From<EntityGetNumChildren> for OkModelingCmdResponse

source§

fn from(x: EntityGetNumChildren) -> Self

Converts to this type from the input type.
source§

impl From<EntityGetParentId> for OkModelingCmdResponse

source§

fn from(x: EntityGetParentId) -> Self

Converts to this type from the input type.
source§

impl From<EntityLinearPattern> for OkModelingCmdResponse

source§

fn from(x: EntityLinearPattern) -> Self

Converts to this type from the input type.
source§

impl From<Export> for OkModelingCmdResponse

source§

fn from(x: Export) -> Self

Converts to this type from the input type.
source§

impl From<ExtrusionFaceInfo> for OkModelingCmdResponse

source§

fn from(x: ExtrusionFaceInfo) -> Self

Converts to this type from the input type.
source§

impl From<FaceGetGradient> for OkModelingCmdResponse

source§

fn from(x: FaceGetGradient) -> Self

Converts to this type from the input type.
source§

impl From<FaceGetPosition> for OkModelingCmdResponse

source§

fn from(x: FaceGetPosition) -> Self

Converts to this type from the input type.
source§

impl From<FaceIsPlanar> for OkModelingCmdResponse

source§

fn from(x: FaceIsPlanar) -> Self

Converts to this type from the input type.
source§

impl From<GetEntityType> for OkModelingCmdResponse

source§

fn from(x: GetEntityType) -> Self

Converts to this type from the input type.
source§

impl From<GetNumObjects> for OkModelingCmdResponse

source§

fn from(x: GetNumObjects) -> Self

Converts to this type from the input type.
source§

impl From<GetSketchModePlane> for OkModelingCmdResponse

source§

fn from(x: GetSketchModePlane) -> Self

Converts to this type from the input type.
source§

impl From<HighlightSetEntity> for OkModelingCmdResponse

source§

fn from(x: HighlightSetEntity) -> Self

Converts to this type from the input type.
source§

impl From<ImportFiles> for OkModelingCmdResponse

source§

fn from(x: ImportFiles) -> Self

Converts to this type from the input type.
source§

impl From<ImportedGeometry> for OkModelingCmdResponse

source§

fn from(x: ImportedGeometry) -> Self

Converts to this type from the input type.
source§

impl From<Mass> for OkModelingCmdResponse

source§

fn from(x: Mass) -> Self

Converts to this type from the input type.
source§

impl From<MouseClick> for OkModelingCmdResponse

source§

fn from(x: MouseClick) -> Self

Converts to this type from the input type.
source§

impl From<PathGetCurveUuidsForVertices> for OkModelingCmdResponse

source§

fn from(x: PathGetCurveUuidsForVertices) -> Self

Converts to this type from the input type.
source§

impl From<PathGetInfo> for OkModelingCmdResponse

source§

fn from(x: PathGetInfo) -> Self

Converts to this type from the input type.
source§

impl From<PathGetVertexUuids> for OkModelingCmdResponse

source§

fn from(x: PathGetVertexUuids) -> Self

Converts to this type from the input type.
source§

impl From<PathSegmentInfo> for OkModelingCmdResponse

source§

fn from(x: PathSegmentInfo) -> Self

Converts to this type from the input type.
source§

impl From<PlaneIntersectAndProject> for OkModelingCmdResponse

source§

fn from(x: PlaneIntersectAndProject) -> Self

Converts to this type from the input type.
source§

impl From<SelectGet> for OkModelingCmdResponse

source§

fn from(x: SelectGet) -> Self

Converts to this type from the input type.
source§

impl From<SelectWithPoint> for OkModelingCmdResponse

source§

fn from(x: SelectWithPoint) -> Self

Converts to this type from the input type.
source§

impl From<Solid3dGetAllEdgeFaces> for OkModelingCmdResponse

source§

fn from(x: Solid3dGetAllEdgeFaces) -> Self

Converts to this type from the input type.
source§

impl From<Solid3dGetAllOppositeEdges> for OkModelingCmdResponse

source§

fn from(x: Solid3dGetAllOppositeEdges) -> Self

Converts to this type from the input type.
source§

impl From<Solid3dGetExtrusionFaceInfo> for OkModelingCmdResponse

source§

fn from(x: Solid3dGetExtrusionFaceInfo) -> Self

Converts to this type from the input type.
source§

impl From<Solid3dGetNextAdjacentEdge> for OkModelingCmdResponse

source§

fn from(x: Solid3dGetNextAdjacentEdge) -> Self

Converts to this type from the input type.
source§

impl From<Solid3dGetOppositeEdge> for OkModelingCmdResponse

source§

fn from(x: Solid3dGetOppositeEdge) -> Self

Converts to this type from the input type.
source§

impl From<Solid3dGetPrevAdjacentEdge> for OkModelingCmdResponse

source§

fn from(x: Solid3dGetPrevAdjacentEdge) -> Self

Converts to this type from the input type.
source§

impl From<SurfaceArea> for OkModelingCmdResponse

source§

fn from(x: SurfaceArea) -> Self

Converts to this type from the input type.
source§

impl From<TakeSnapshot> for OkModelingCmdResponse

source§

fn from(x: TakeSnapshot) -> Self

Converts to this type from the input type.
source§

impl From<Volume> for OkModelingCmdResponse

source§

fn from(x: Volume) -> Self

Converts to this type from the input type.
source§

impl JsonSchema for OkModelingCmdResponse

source§

fn schema_name() -> String

The name of the generated JSON Schema. Read more
source§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
source§

fn json_schema(gen: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
source§

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
source§

impl Serialize for OkModelingCmdResponse

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Value for OkModelingCmdResponse

source§

fn into_parts(self) -> Vec<Primitive>

Store the value in memory.
source§

fn from_parts<I>(values: &mut I) -> Result<(Self, usize), MemoryError>
where I: Iterator<Item = Option<Primitive>>,

Read the value from memory.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

source§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

source§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

source§

fn implicit( self, class: Class, constructed: bool, tag: u32 ) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoResult<T> for T

§

type Err = Infallible

source§

fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>

source§

impl<T> IntoSql for T

source§

fn into_sql<T>(self) -> Self::Expression

Convert self to an expression for Diesel’s query builder. Read more
source§

fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression

Convert &self to an expression for Diesel’s query builder. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

source§

fn vzip(self) -> V

source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

source§

impl<T> SendSyncUnwindSafe for T
where T: Send + Sync + UnwindSafe + ?Sized,