Skip to content

Commit 06477d1

Browse files
committed
Pub, comments
1 parent af6e4e2 commit 06477d1

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

modeling-cmds/src/ok_response.rs

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,35 +56,40 @@ define_ok_modeling_cmd_response_enum! {
5656
#[derive(Debug, Serialize, Deserialize, Clone, JsonSchema, ModelingCmdOutput)]
5757
#[cfg_attr(not(feature = "unstable_exhaustive"), non_exhaustive)]
5858
pub struct Extrude {
59-
bodies: BodiesCreated,
59+
/// Any new bodies created by the request.
60+
pub bodies: BodiesCreated,
6061
}
6162

6263
/// The response from the `ExtrudeToReference` endpoint.
6364
#[derive(Debug, Serialize, Deserialize, Clone, JsonSchema, ModelingCmdOutput)]
6465
#[cfg_attr(not(feature = "unstable_exhaustive"), non_exhaustive)]
6566
pub struct ExtrudeToReference {
66-
bodies: BodiesCreated,
67+
/// Any new bodies created by the request.
68+
pub bodies: BodiesCreated,
6769
}
6870

6971
/// The response from the `TwistExtrude` endpoint.
7072
#[derive(Debug, Serialize, Deserialize, Clone, JsonSchema, ModelingCmdOutput)]
7173
#[cfg_attr(not(feature = "unstable_exhaustive"), non_exhaustive)]
7274
pub struct TwistExtrude {
73-
bodies: BodiesCreated,
75+
/// Any new bodies created by the request.
76+
pub bodies: BodiesCreated,
7477
}
7578

7679
/// The response from the `Sweep` endpoint.
7780
#[derive(Debug, Serialize, Deserialize, Clone, JsonSchema, ModelingCmdOutput)]
7881
#[cfg_attr(not(feature = "unstable_exhaustive"), non_exhaustive)]
7982
pub struct Sweep {
80-
bodies: BodiesCreated,
83+
/// Any new bodies created by the request.
84+
pub bodies: BodiesCreated,
8185
}
8286

8387
/// The response from the `Revolve` endpoint.
8488
#[derive(Debug, Serialize, Deserialize, Clone, JsonSchema, ModelingCmdOutput)]
8589
#[cfg_attr(not(feature = "unstable_exhaustive"), non_exhaustive)]
8690
pub struct Revolve {
87-
bodies: BodiesCreated,
91+
/// Any new bodies created by the request.
92+
pub bodies: BodiesCreated,
8893
}
8994

9095
/// The response from the `Solid3dShellFace` endpoint.
@@ -132,7 +137,8 @@ define_ok_modeling_cmd_response_enum! {
132137
#[derive(Debug, Serialize, Deserialize, Clone, JsonSchema, ModelingCmdOutput)]
133138
#[cfg_attr(not(feature = "unstable_exhaustive"), non_exhaustive)]
134139
pub struct RevolveAboutEdge {
135-
bodies: BodiesCreated,
140+
/// Any new bodies created by the request.
141+
pub bodies: BodiesCreated,
136142
}
137143

138144
/// The response from the `CameraDragStart` endpoint.

0 commit comments

Comments
 (0)