File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1157,7 +1157,7 @@ where
1157
1157
}
1158
1158
1159
1159
impl TimespanTargetType {
1160
- pub ( crate ) fn to_flexible_schema ( self , signed : bool ) -> Schema {
1160
+ pub ( crate ) fn into_flexible_schema ( self , signed : bool ) -> Schema {
1161
1161
use :: schemars_0_8:: schema:: StringValidation ;
1162
1162
1163
1163
let mut number = SchemaObject {
@@ -1232,7 +1232,7 @@ where
1232
1232
1233
1233
fn json_schema ( _: & mut SchemaGenerator ) -> Schema {
1234
1234
<T as TimespanSchemaTarget < F > >:: TYPE
1235
- . to_flexible_schema ( <T as TimespanSchemaTarget < F > >:: SIGNED )
1235
+ . into_flexible_schema ( <T as TimespanSchemaTarget < F > >:: SIGNED )
1236
1236
}
1237
1237
1238
1238
fn is_referenceable ( ) -> bool {
Original file line number Diff line number Diff line change @@ -1162,7 +1162,7 @@ where
1162
1162
}
1163
1163
1164
1164
impl TimespanTargetType {
1165
- pub ( crate ) fn to_flexible_schema ( self , signed : bool ) -> Schema {
1165
+ pub ( crate ) fn into_flexible_schema ( self , signed : bool ) -> Schema {
1166
1166
let mut number = json_schema ! ( {
1167
1167
"type" : "number"
1168
1168
} ) ;
@@ -1229,7 +1229,7 @@ where
1229
1229
1230
1230
fn json_schema ( _: & mut SchemaGenerator ) -> Schema {
1231
1231
<T as TimespanSchemaTarget < F > >:: TYPE
1232
- . to_flexible_schema ( <T as TimespanSchemaTarget < F > >:: SIGNED )
1232
+ . into_flexible_schema ( <T as TimespanSchemaTarget < F > >:: SIGNED )
1233
1233
}
1234
1234
1235
1235
fn inline_schema ( ) -> bool {
Original file line number Diff line number Diff line change @@ -1169,7 +1169,7 @@ where
1169
1169
}
1170
1170
1171
1171
impl TimespanTargetType {
1172
- pub ( crate ) fn to_flexible_schema ( self , signed : bool ) -> Schema {
1172
+ pub ( crate ) fn into_flexible_schema ( self , signed : bool ) -> Schema {
1173
1173
let mut number = json_schema ! ( {
1174
1174
"type" : "number"
1175
1175
} ) ;
@@ -1236,7 +1236,7 @@ where
1236
1236
1237
1237
fn json_schema ( _: & mut SchemaGenerator ) -> Schema {
1238
1238
<T as TimespanSchemaTarget < F > >:: TYPE
1239
- . to_flexible_schema ( <T as TimespanSchemaTarget < F > >:: SIGNED )
1239
+ . into_flexible_schema ( <T as TimespanSchemaTarget < F > >:: SIGNED )
1240
1240
}
1241
1241
1242
1242
fn inline_schema ( ) -> bool {
You can’t perform that action at this time.
0 commit comments