6055 6052 | #[allow(missing_docs)] // documentation missing in model
|
6056 6053 | pub(crate) fn set_con_b(
|
6057 6054 | mut self,
|
6058 6055 | input: impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ConB>>,
|
6059 6056 | ) -> Self {
|
6060 6057 | self.con_b = Some(input.into());
|
6061 6058 | self
|
6062 6059 | }
|
6063 6060 | #[allow(missing_docs)] // documentation missing in model
|
6064 6061 | pub fn opt_con_b(mut self, input: ::std::option::Option<crate::model::ConB>) -> Self {
|
6065 - | self.opt_con_b = input.map(
|
6066 - | #[allow(clippy::redundant_closure)]
|
6067 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
6068 - | );
|
6062 + | self.opt_con_b = input.map(crate::constrained::MaybeConstrained::Constrained);
|
6069 6063 | self
|
6070 6064 | }
|
6071 6065 | #[allow(missing_docs)] // documentation missing in model
|
6072 6066 | pub(crate) fn set_opt_con_b(
|
6073 6067 | mut self,
|
6074 6068 | input: Option<
|
6075 6069 | impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ConB>>,
|
6076 6070 | >,
|
6077 6071 | ) -> Self {
|
6078 6072 | self.opt_con_b = input.map(|v| v.into());
|
6079 6073 | self
|
6080 6074 | }
|
6081 6075 | #[allow(missing_docs)] // documentation missing in model
|
6082 6076 | pub fn length_string(
|
6083 6077 | mut self,
|
6084 6078 | input: ::std::option::Option<crate::model::LengthString>,
|
6085 6079 | ) -> Self {
|
6086 - | self.length_string = input.map(
|
6087 - | #[allow(clippy::redundant_closure)]
|
6088 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
6089 - | );
|
6080 + | self.length_string = input.map(crate::constrained::MaybeConstrained::Constrained);
|
6090 6081 | self
|
6091 6082 | }
|
6092 6083 | #[allow(missing_docs)] // documentation missing in model
|
6093 6084 | pub(crate) fn set_length_string(
|
6094 6085 | mut self,
|
6095 6086 | input: Option<
|
6096 6087 | impl ::std::convert::Into<
|
6097 6088 | crate::constrained::MaybeConstrained<crate::model::LengthString>,
|
6098 6089 | >,
|
6099 6090 | >,
|
6100 6091 | ) -> Self {
|
6101 6092 | self.length_string = input.map(|v| v.into());
|
6102 6093 | self
|
6103 6094 | }
|
6104 6095 | #[allow(missing_docs)] // documentation missing in model
|
6105 6096 | pub fn min_length_string(
|
6106 6097 | mut self,
|
6107 6098 | input: ::std::option::Option<crate::model::MinLengthString>,
|
6108 6099 | ) -> Self {
|
6109 - | self.min_length_string = input.map(
|
6110 - | #[allow(clippy::redundant_closure)]
|
6111 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
6112 - | );
|
6100 + | self.min_length_string = input.map(crate::constrained::MaybeConstrained::Constrained);
|
6113 6101 | self
|
6114 6102 | }
|
6115 6103 | #[allow(missing_docs)] // documentation missing in model
|
6116 6104 | pub(crate) fn set_min_length_string(
|
6117 6105 | mut self,
|
6118 6106 | input: Option<
|
6119 6107 | impl ::std::convert::Into<
|
6120 6108 | crate::constrained::MaybeConstrained<crate::model::MinLengthString>,
|
6121 6109 | >,
|
6122 6110 | >,
|
6123 6111 | ) -> Self {
|
6124 6112 | self.min_length_string = input.map(|v| v.into());
|
6125 6113 | self
|
6126 6114 | }
|
6127 6115 | #[allow(missing_docs)] // documentation missing in model
|
6128 6116 | pub fn max_length_string(
|
6129 6117 | mut self,
|
6130 6118 | input: ::std::option::Option<crate::model::MaxLengthString>,
|
6131 6119 | ) -> Self {
|
6132 - | self.max_length_string = input.map(
|
6133 - | #[allow(clippy::redundant_closure)]
|
6134 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
6135 - | );
|
6120 + | self.max_length_string = input.map(crate::constrained::MaybeConstrained::Constrained);
|
6136 6121 | self
|
6137 6122 | }
|
6138 6123 | #[allow(missing_docs)] // documentation missing in model
|
6139 6124 | pub(crate) fn set_max_length_string(
|
6140 6125 | mut self,
|
6141 6126 | input: Option<
|
6142 6127 | impl ::std::convert::Into<
|
6143 6128 | crate::constrained::MaybeConstrained<crate::model::MaxLengthString>,
|
6144 6129 | >,
|
6145 6130 | >,
|
6146 6131 | ) -> Self {
|
6147 6132 | self.max_length_string = input.map(|v| v.into());
|
6148 6133 | self
|
6149 6134 | }
|
6150 6135 | #[allow(missing_docs)] // documentation missing in model
|
6151 6136 | pub fn fixed_length_string(
|
6152 6137 | mut self,
|
6153 6138 | input: ::std::option::Option<crate::model::FixedLengthString>,
|
6154 6139 | ) -> Self {
|
6155 - | self.fixed_length_string = input.map(
|
6156 - | #[allow(clippy::redundant_closure)]
|
6157 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
6158 - | );
|
6140 + | self.fixed_length_string = input.map(crate::constrained::MaybeConstrained::Constrained);
|
6159 6141 | self
|
6160 6142 | }
|
6161 6143 | #[allow(missing_docs)] // documentation missing in model
|
6162 6144 | pub(crate) fn set_fixed_length_string(
|
6163 6145 | mut self,
|
6164 6146 | input: Option<
|
6165 6147 | impl ::std::convert::Into<
|
6166 6148 | crate::constrained::MaybeConstrained<crate::model::FixedLengthString>,
|
6167 6149 | >,
|
6168 6150 | >,
|
6169 6151 | ) -> Self {
|
6170 6152 | self.fixed_length_string = input.map(|v| v.into());
|
6171 6153 | self
|
6172 6154 | }
|
6173 6155 | #[allow(missing_docs)] // documentation missing in model
|
6174 6156 | pub fn length_blob(
|
6175 6157 | mut self,
|
6176 6158 | input: ::std::option::Option<crate::model::LengthBlob>,
|
6177 6159 | ) -> Self {
|
6178 - | self.length_blob = input.map(
|
6179 - | #[allow(clippy::redundant_closure)]
|
6180 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
6181 - | );
|
6160 + | self.length_blob = input.map(crate::constrained::MaybeConstrained::Constrained);
|
6182 6161 | self
|
6183 6162 | }
|
6184 6163 | #[allow(missing_docs)] // documentation missing in model
|
6185 6164 | pub(crate) fn set_length_blob(
|
6186 6165 | mut self,
|
6187 6166 | input: Option<
|
6188 6167 | impl ::std::convert::Into<
|
6189 6168 | crate::constrained::MaybeConstrained<crate::model::LengthBlob>,
|
6190 6169 | >,
|
6191 6170 | >,
|
6192 6171 | ) -> Self {
|
6193 6172 | self.length_blob = input.map(|v| v.into());
|
6194 6173 | self
|
6195 6174 | }
|
6196 6175 | #[allow(missing_docs)] // documentation missing in model
|
6197 6176 | pub fn min_length_blob(
|
6198 6177 | mut self,
|
6199 6178 | input: ::std::option::Option<crate::model::MinLengthBlob>,
|
6200 6179 | ) -> Self {
|
6201 - | self.min_length_blob = input.map(
|
6202 - | #[allow(clippy::redundant_closure)]
|
6203 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
6204 - | );
|
6180 + | self.min_length_blob = input.map(crate::constrained::MaybeConstrained::Constrained);
|
6205 6181 | self
|
6206 6182 | }
|
6207 6183 | #[allow(missing_docs)] // documentation missing in model
|
6208 6184 | pub(crate) fn set_min_length_blob(
|
6209 6185 | mut self,
|
6210 6186 | input: Option<
|
6211 6187 | impl ::std::convert::Into<
|
6212 6188 | crate::constrained::MaybeConstrained<crate::model::MinLengthBlob>,
|
6213 6189 | >,
|
6214 6190 | >,
|
6215 6191 | ) -> Self {
|
6216 6192 | self.min_length_blob = input.map(|v| v.into());
|
6217 6193 | self
|
6218 6194 | }
|
6219 6195 | #[allow(missing_docs)] // documentation missing in model
|
6220 6196 | pub fn max_length_blob(
|
6221 6197 | mut self,
|
6222 6198 | input: ::std::option::Option<crate::model::MaxLengthBlob>,
|
6223 6199 | ) -> Self {
|
6224 - | self.max_length_blob = input.map(
|
6225 - | #[allow(clippy::redundant_closure)]
|
6226 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
6227 - | );
|
6200 + | self.max_length_blob = input.map(crate::constrained::MaybeConstrained::Constrained);
|
6228 6201 | self
|
6229 6202 | }
|
6230 6203 | #[allow(missing_docs)] // documentation missing in model
|
6231 6204 | pub(crate) fn set_max_length_blob(
|
6232 6205 | mut self,
|
6233 6206 | input: Option<
|
6234 6207 | impl ::std::convert::Into<
|
6235 6208 | crate::constrained::MaybeConstrained<crate::model::MaxLengthBlob>,
|
6236 6209 | >,
|
6237 6210 | >,
|
6238 6211 | ) -> Self {
|
6239 6212 | self.max_length_blob = input.map(|v| v.into());
|
6240 6213 | self
|
6241 6214 | }
|
6242 6215 | #[allow(missing_docs)] // documentation missing in model
|
6243 6216 | pub fn fixed_length_blob(
|
6244 6217 | mut self,
|
6245 6218 | input: ::std::option::Option<crate::model::FixedLengthBlob>,
|
6246 6219 | ) -> Self {
|
6247 - | self.fixed_length_blob = input.map(
|
6248 - | #[allow(clippy::redundant_closure)]
|
6249 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
6250 - | );
|
6220 + | self.fixed_length_blob = input.map(crate::constrained::MaybeConstrained::Constrained);
|
6251 6221 | self
|
6252 6222 | }
|
6253 6223 | #[allow(missing_docs)] // documentation missing in model
|
6254 6224 | pub(crate) fn set_fixed_length_blob(
|
6255 6225 | mut self,
|
6256 6226 | input: Option<
|
6257 6227 | impl ::std::convert::Into<
|
6258 6228 | crate::constrained::MaybeConstrained<crate::model::FixedLengthBlob>,
|
6259 6229 | >,
|
6260 6230 | >,
|
6526 6496 | >,
|
6527 6497 | ) -> Self {
|
6528 6498 | self.con_b_list = input.map(|v| v.into());
|
6529 6499 | self
|
6530 6500 | }
|
6531 6501 | #[allow(missing_docs)] // documentation missing in model
|
6532 6502 | pub fn length_list(
|
6533 6503 | mut self,
|
6534 6504 | input: ::std::option::Option<crate::model::LengthList>,
|
6535 6505 | ) -> Self {
|
6536 - | self.length_list = input.map(
|
6537 - | #[allow(clippy::redundant_closure)]
|
6538 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
6539 - | );
|
6506 + | self.length_list = input.map(crate::constrained::MaybeConstrained::Constrained);
|
6540 6507 | self
|
6541 6508 | }
|
6542 6509 | #[allow(missing_docs)] // documentation missing in model
|
6543 6510 | pub(crate) fn set_length_list(
|
6544 6511 | mut self,
|
6545 6512 | input: Option<
|
6546 6513 | impl ::std::convert::Into<
|
6547 6514 | crate::constrained::MaybeConstrained<crate::model::LengthList>,
|
6548 6515 | >,
|
6549 6516 | >,
|
6550 6517 | ) -> Self {
|
6551 6518 | self.length_list = input.map(|v| v.into());
|
6552 6519 | self
|
6553 6520 | }
|
6554 6521 | #[allow(missing_docs)] // documentation missing in model
|
6555 6522 | pub fn sensitive_length_list(
|
6556 6523 | mut self,
|
6557 6524 | input: ::std::option::Option<crate::model::SensitiveLengthList>,
|
6558 6525 | ) -> Self {
|
6559 - | self.sensitive_length_list = input.map(
|
6560 - | #[allow(clippy::redundant_closure)]
|
6561 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
6562 - | );
|
6526 + | self.sensitive_length_list =
|
6527 + | input.map(crate::constrained::MaybeConstrained::Constrained);
|
6563 6528 | self
|
6564 6529 | }
|
6565 6530 | #[allow(missing_docs)] // documentation missing in model
|
6566 6531 | pub(crate) fn set_sensitive_length_list(
|
6567 6532 | mut self,
|
6568 6533 | input: Option<
|
6569 6534 | impl ::std::convert::Into<
|
6570 6535 | crate::constrained::MaybeConstrained<crate::model::SensitiveLengthList>,
|
6571 6536 | >,
|
6572 6537 | >,
|
6573 6538 | ) -> Self {
|
6574 6539 | self.sensitive_length_list = input.map(|v| v.into());
|
6575 6540 | self
|
6576 6541 | }
|
6577 6542 | #[allow(missing_docs)] // documentation missing in model
|
6578 6543 | pub fn con_b_set(mut self, input: ::std::option::Option<crate::model::ConBSet>) -> Self {
|
6579 - | self.con_b_set = input.map(
|
6580 - | #[allow(clippy::redundant_closure)]
|
6581 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
6582 - | );
|
6544 + | self.con_b_set = input.map(crate::constrained::MaybeConstrained::Constrained);
|
6583 6545 | self
|
6584 6546 | }
|
6585 6547 | #[allow(missing_docs)] // documentation missing in model
|
6586 6548 | pub(crate) fn set_con_b_set(
|
6587 6549 | mut self,
|
6588 6550 | input: Option<
|
6589 6551 | impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ConBSet>>,
|
6590 6552 | >,
|
6591 6553 | ) -> Self {
|
6592 6554 | self.con_b_set = input.map(|v| v.into());
|
6593 6555 | self
|
6594 6556 | }
|
6595 6557 | #[allow(missing_docs)] // documentation missing in model
|
6596 6558 | pub fn con_b_map(mut self, input: ::std::option::Option<crate::model::ConBMap>) -> Self {
|
6597 - | self.con_b_map = input.map(
|
6598 - | #[allow(clippy::redundant_closure)]
|
6599 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
6600 - | );
|
6559 + | self.con_b_map = input.map(crate::constrained::MaybeConstrained::Constrained);
|
6601 6560 | self
|
6602 6561 | }
|
6603 6562 | #[allow(missing_docs)] // documentation missing in model
|
6604 6563 | pub(crate) fn set_con_b_map(
|
6605 6564 | mut self,
|
6606 6565 | input: Option<
|
6607 6566 | impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::ConBMap>>,
|
6608 6567 | >,
|
6609 6568 | ) -> Self {
|
6610 6569 | self.con_b_map = input.map(|v| v.into());
|
6611 6570 | self
|
6612 6571 | }
|
6613 6572 | #[allow(missing_docs)] // documentation missing in model
|
6614 6573 | pub fn length_map(mut self, input: ::std::option::Option<crate::model::LengthMap>) -> Self {
|
6615 - | self.length_map = input.map(
|
6616 - | #[allow(clippy::redundant_closure)]
|
6617 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
6618 - | );
|
6574 + | self.length_map = input.map(crate::constrained::MaybeConstrained::Constrained);
|
6619 6575 | self
|
6620 6576 | }
|
6621 6577 | #[allow(missing_docs)] // documentation missing in model
|
6622 6578 | pub(crate) fn set_length_map(
|
6623 6579 | mut self,
|
6624 6580 | input: Option<
|
6625 6581 | impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::model::LengthMap>>,
|
6626 6582 | >,
|
6627 6583 | ) -> Self {
|
6628 6584 | self.length_map = input.map(|v| v.into());
|
6710 6666 | >,
|
6711 6667 | ) -> Self {
|
6712 6668 | self.sparse_list = input.map(|v| v.into());
|
6713 6669 | self
|
6714 6670 | }
|
6715 6671 | #[allow(missing_docs)] // documentation missing in model
|
6716 6672 | pub fn sparse_length_map(
|
6717 6673 | mut self,
|
6718 6674 | input: ::std::option::Option<crate::model::SparseLengthMap>,
|
6719 6675 | ) -> Self {
|
6720 - | self.sparse_length_map = input.map(
|
6721 - | #[allow(clippy::redundant_closure)]
|
6722 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
6723 - | );
|
6676 + | self.sparse_length_map = input.map(crate::constrained::MaybeConstrained::Constrained);
|
6724 6677 | self
|
6725 6678 | }
|
6726 6679 | #[allow(missing_docs)] // documentation missing in model
|
6727 6680 | pub(crate) fn set_sparse_length_map(
|
6728 6681 | mut self,
|
6729 6682 | input: Option<
|
6730 6683 | impl ::std::convert::Into<
|
6731 6684 | crate::constrained::MaybeConstrained<crate::model::SparseLengthMap>,
|
6732 6685 | >,
|
6733 6686 | >,
|
6734 6687 | ) -> Self {
|
6735 6688 | self.sparse_length_map = input.map(|v| v.into());
|
6736 6689 | self
|
6737 6690 | }
|
6738 6691 | #[allow(missing_docs)] // documentation missing in model
|
6739 6692 | pub fn sparse_length_list(
|
6740 6693 | mut self,
|
6741 6694 | input: ::std::option::Option<crate::model::SparseLengthList>,
|
6742 6695 | ) -> Self {
|
6743 - | self.sparse_length_list = input.map(
|
6744 - | #[allow(clippy::redundant_closure)]
|
6745 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
6746 - | );
|
6696 + | self.sparse_length_list = input.map(crate::constrained::MaybeConstrained::Constrained);
|
6747 6697 | self
|
6748 6698 | }
|
6749 6699 | #[allow(missing_docs)] // documentation missing in model
|
6750 6700 | pub(crate) fn set_sparse_length_list(
|
6751 6701 | mut self,
|
6752 6702 | input: Option<
|
6753 6703 | impl ::std::convert::Into<
|
6754 6704 | crate::constrained::MaybeConstrained<crate::model::SparseLengthList>,
|
6755 6705 | >,
|
6756 6706 | >,
|
6757 6707 | ) -> Self {
|
6758 6708 | self.sparse_length_list = input.map(|v| v.into());
|
6759 6709 | self
|
6760 6710 | }
|
6761 6711 | /// A union with constrained members.
|
6762 6712 | pub fn constrained_union(
|
6763 6713 | mut self,
|
6764 6714 | input: ::std::option::Option<crate::model::ConstrainedUnion>,
|
6765 6715 | ) -> Self {
|
6766 - | self.constrained_union = input.map(
|
6767 - | #[allow(clippy::redundant_closure)]
|
6768 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
6769 - | );
|
6716 + | self.constrained_union = input.map(crate::constrained::MaybeConstrained::Constrained);
|
6770 6717 | self
|
6771 6718 | }
|
6772 6719 | /// A union with constrained members.
|
6773 6720 | pub(crate) fn set_constrained_union(
|
6774 6721 | mut self,
|
6775 6722 | input: Option<
|
6776 6723 | impl ::std::convert::Into<
|
6777 6724 | crate::constrained::MaybeConstrained<crate::model::ConstrainedUnion>,
|
6778 6725 | >,
|
6779 6726 | >,
|
6780 6727 | ) -> Self {
|
6781 6728 | self.constrained_union = input.map(|v| v.into());
|
6782 6729 | self
|
6783 6730 | }
|
6784 6731 | #[allow(missing_docs)] // documentation missing in model
|
6785 6732 | pub fn enum_string(
|
6786 6733 | mut self,
|
6787 6734 | input: ::std::option::Option<crate::model::EnumString>,
|
6788 6735 | ) -> Self {
|
6789 - | self.enum_string = input.map(
|
6790 - | #[allow(clippy::redundant_closure)]
|
6791 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
6792 - | );
|
6736 + | self.enum_string = input.map(crate::constrained::MaybeConstrained::Constrained);
|
6793 6737 | self
|
6794 6738 | }
|
6795 6739 | #[allow(missing_docs)] // documentation missing in model
|
6796 6740 | pub(crate) fn set_enum_string(
|
6797 6741 | mut self,
|
6798 6742 | input: Option<
|
6799 6743 | impl ::std::convert::Into<
|
6800 6744 | crate::constrained::MaybeConstrained<crate::model::EnumString>,
|
6801 6745 | >,
|
6802 6746 | >,
|
6803 6747 | ) -> Self {
|
6804 6748 | self.enum_string = input.map(|v| v.into());
|
6805 6749 | self
|
6806 6750 | }
|
6807 6751 | #[allow(missing_docs)] // documentation missing in model
|
6808 6752 | pub fn list_of_length_string(
|
6809 6753 | mut self,
|
6810 6754 | input: ::std::option::Option<::std::vec::Vec<crate::model::LengthString>>,
|
6811 6755 | ) -> Self {
|
6812 6756 | self.list_of_length_string = input.map(
|
6813 6757 | #[allow(clippy::redundant_closure)]
|
6814 6758 | |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
|
6815 6759 | );
|
6816 6760 | self
|
6817 6761 | }
|
6818 6762 | #[allow(missing_docs)] // documentation missing in model
|
6819 6763 | pub(crate) fn set_list_of_length_string(
|
6820 6764 | mut self,
|
6821 6765 | input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_string_constrained::ListOfLengthStringConstrained>>>,
|
6822 6766 | ) -> Self {
|
6823 6767 | self.list_of_length_string = input.map(|v| v.into());
|
6824 6768 | self
|
6825 6769 | }
|
6826 6770 | #[allow(missing_docs)] // documentation missing in model
|
6827 6771 | pub fn set_of_length_string(
|
6828 6772 | mut self,
|
6829 6773 | input: ::std::option::Option<crate::model::SetOfLengthString>,
|
6830 6774 | ) -> Self {
|
6831 - | self.set_of_length_string = input.map(
|
6832 - | #[allow(clippy::redundant_closure)]
|
6833 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
6834 - | );
|
6775 + | self.set_of_length_string =
|
6776 + | input.map(crate::constrained::MaybeConstrained::Constrained);
|
6835 6777 | self
|
6836 6778 | }
|
6837 6779 | #[allow(missing_docs)] // documentation missing in model
|
6838 6780 | pub(crate) fn set_set_of_length_string(
|
6839 6781 | mut self,
|
6840 6782 | input: Option<
|
6841 6783 | impl ::std::convert::Into<
|
6842 6784 | crate::constrained::MaybeConstrained<crate::model::SetOfLengthString>,
|
6843 6785 | >,
|
6844 6786 | >,
|
6924 6866 | input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_integer_constrained::ListOfRangeIntegerConstrained>>>,
|
6925 6867 | ) -> Self {
|
6926 6868 | self.list_of_range_integer = input.map(|v| v.into());
|
6927 6869 | self
|
6928 6870 | }
|
6929 6871 | #[allow(missing_docs)] // documentation missing in model
|
6930 6872 | pub fn set_of_range_integer(
|
6931 6873 | mut self,
|
6932 6874 | input: ::std::option::Option<crate::model::SetOfRangeInteger>,
|
6933 6875 | ) -> Self {
|
6934 - | self.set_of_range_integer = input.map(
|
6935 - | #[allow(clippy::redundant_closure)]
|
6936 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
6937 - | );
|
6876 + | self.set_of_range_integer =
|
6877 + | input.map(crate::constrained::MaybeConstrained::Constrained);
|
6938 6878 | self
|
6939 6879 | }
|
6940 6880 | #[allow(missing_docs)] // documentation missing in model
|
6941 6881 | pub(crate) fn set_set_of_range_integer(
|
6942 6882 | mut self,
|
6943 6883 | input: Option<
|
6944 6884 | impl ::std::convert::Into<
|
6945 6885 | crate::constrained::MaybeConstrained<crate::model::SetOfRangeInteger>,
|
6946 6886 | >,
|
6947 6887 | >,
|
6948 6888 | ) -> Self {
|
6949 6889 | self.set_of_range_integer = input.map(|v| v.into());
|
6950 6890 | self
|
6951 6891 | }
|
6952 6892 | #[allow(missing_docs)] // documentation missing in model
|
6953 6893 | pub fn map_of_range_integer(
|
6954 6894 | mut self,
|
6955 6895 | input: ::std::option::Option<
|
6956 6896 | ::std::collections::HashMap<::std::string::String, crate::model::RangeInteger>,
|
6957 6897 | >,
|
6958 6898 | ) -> Self {
|
6959 6899 | self.map_of_range_integer = input.map(
|
6960 6900 | #[allow(clippy::redundant_closure)]
|
6961 6901 | |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
|
6962 6902 | );
|
6963 6903 | self
|
6964 6904 | }
|
6965 6905 | #[allow(missing_docs)] // documentation missing in model
|
6966 6906 | pub(crate) fn set_map_of_range_integer(
|
6967 6907 | mut self,
|
6968 6908 | input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_integer_constrained::MapOfRangeIntegerConstrained>>>,
|
6969 6909 | ) -> Self {
|
6970 6910 | self.map_of_range_integer = input.map(|v| v.into());
|
6971 6911 | self
|
6972 6912 | }
|
6973 6913 | #[allow(missing_docs)] // documentation missing in model
|
6974 6914 | pub fn list_of_range_short(
|
6975 6915 | mut self,
|
6976 6916 | input: ::std::option::Option<::std::vec::Vec<crate::model::RangeShort>>,
|
6977 6917 | ) -> Self {
|
6978 6918 | self.list_of_range_short = input.map(
|
6979 6919 | #[allow(clippy::redundant_closure)]
|
6980 6920 | |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
|
6981 6921 | );
|
6982 6922 | self
|
6983 6923 | }
|
6984 6924 | #[allow(missing_docs)] // documentation missing in model
|
6985 6925 | pub(crate) fn set_list_of_range_short(
|
6986 6926 | mut self,
|
6987 6927 | input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_short_constrained::ListOfRangeShortConstrained>>>,
|
6988 6928 | ) -> Self {
|
6989 6929 | self.list_of_range_short = input.map(|v| v.into());
|
6990 6930 | self
|
6991 6931 | }
|
6992 6932 | #[allow(missing_docs)] // documentation missing in model
|
6993 6933 | pub fn set_of_range_short(
|
6994 6934 | mut self,
|
6995 6935 | input: ::std::option::Option<crate::model::SetOfRangeShort>,
|
6996 6936 | ) -> Self {
|
6997 - | self.set_of_range_short = input.map(
|
6998 - | #[allow(clippy::redundant_closure)]
|
6999 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
7000 - | );
|
6937 + | self.set_of_range_short = input.map(crate::constrained::MaybeConstrained::Constrained);
|
7001 6938 | self
|
7002 6939 | }
|
7003 6940 | #[allow(missing_docs)] // documentation missing in model
|
7004 6941 | pub(crate) fn set_set_of_range_short(
|
7005 6942 | mut self,
|
7006 6943 | input: Option<
|
7007 6944 | impl ::std::convert::Into<
|
7008 6945 | crate::constrained::MaybeConstrained<crate::model::SetOfRangeShort>,
|
7009 6946 | >,
|
7010 6947 | >,
|
7011 6948 | ) -> Self {
|
7012 6949 | self.set_of_range_short = input.map(|v| v.into());
|
7013 6950 | self
|
7014 6951 | }
|
7015 6952 | #[allow(missing_docs)] // documentation missing in model
|
7016 6953 | pub fn map_of_range_short(
|
7017 6954 | mut self,
|
7018 6955 | input: ::std::option::Option<
|
7019 6956 | ::std::collections::HashMap<::std::string::String, crate::model::RangeShort>,
|
7020 6957 | >,
|
7021 6958 | ) -> Self {
|
7022 6959 | self.map_of_range_short = input.map(
|
7023 6960 | #[allow(clippy::redundant_closure)]
|
7024 6961 | |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
|
7025 6962 | );
|
7026 6963 | self
|
7027 6964 | }
|
7028 6965 | #[allow(missing_docs)] // documentation missing in model
|
7029 6966 | pub(crate) fn set_map_of_range_short(
|
7030 6967 | mut self,
|
7031 6968 | input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_short_constrained::MapOfRangeShortConstrained>>>,
|
7032 6969 | ) -> Self {
|
7033 6970 | self.map_of_range_short = input.map(|v| v.into());
|
7034 6971 | self
|
7035 6972 | }
|
7036 6973 | #[allow(missing_docs)] // documentation missing in model
|
7037 6974 | pub fn list_of_range_long(
|
7038 6975 | mut self,
|
7039 6976 | input: ::std::option::Option<::std::vec::Vec<crate::model::RangeLong>>,
|
7040 6977 | ) -> Self {
|
7041 6978 | self.list_of_range_long = input.map(
|
7042 6979 | #[allow(clippy::redundant_closure)]
|
7043 6980 | |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
|
7044 6981 | );
|
7045 6982 | self
|
7046 6983 | }
|
7047 6984 | #[allow(missing_docs)] // documentation missing in model
|
7048 6985 | pub(crate) fn set_list_of_range_long(
|
7049 6986 | mut self,
|
7050 6987 | input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_long_constrained::ListOfRangeLongConstrained>>>,
|
7051 6988 | ) -> Self {
|
7052 6989 | self.list_of_range_long = input.map(|v| v.into());
|
7053 6990 | self
|
7054 6991 | }
|
7055 6992 | #[allow(missing_docs)] // documentation missing in model
|
7056 6993 | pub fn set_of_range_long(
|
7057 6994 | mut self,
|
7058 6995 | input: ::std::option::Option<crate::model::SetOfRangeLong>,
|
7059 6996 | ) -> Self {
|
7060 - | self.set_of_range_long = input.map(
|
7061 - | #[allow(clippy::redundant_closure)]
|
7062 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
7063 - | );
|
6997 + | self.set_of_range_long = input.map(crate::constrained::MaybeConstrained::Constrained);
|
7064 6998 | self
|
7065 6999 | }
|
7066 7000 | #[allow(missing_docs)] // documentation missing in model
|
7067 7001 | pub(crate) fn set_set_of_range_long(
|
7068 7002 | mut self,
|
7069 7003 | input: Option<
|
7070 7004 | impl ::std::convert::Into<
|
7071 7005 | crate::constrained::MaybeConstrained<crate::model::SetOfRangeLong>,
|
7072 7006 | >,
|
7073 7007 | >,
|
7074 7008 | ) -> Self {
|
7075 7009 | self.set_of_range_long = input.map(|v| v.into());
|
7076 7010 | self
|
7077 7011 | }
|
7078 7012 | #[allow(missing_docs)] // documentation missing in model
|
7079 7013 | pub fn map_of_range_long(
|
7080 7014 | mut self,
|
7081 7015 | input: ::std::option::Option<
|
7082 7016 | ::std::collections::HashMap<::std::string::String, crate::model::RangeLong>,
|
7083 7017 | >,
|
7084 7018 | ) -> Self {
|
7085 7019 | self.map_of_range_long = input.map(
|
7086 7020 | #[allow(clippy::redundant_closure)]
|
7087 7021 | |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
|
7088 7022 | );
|
7089 7023 | self
|
7090 7024 | }
|
7091 7025 | #[allow(missing_docs)] // documentation missing in model
|
7092 7026 | pub(crate) fn set_map_of_range_long(
|
7093 7027 | mut self,
|
7094 7028 | input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_long_constrained::MapOfRangeLongConstrained>>>,
|
7095 7029 | ) -> Self {
|
7096 7030 | self.map_of_range_long = input.map(|v| v.into());
|
7097 7031 | self
|
7098 7032 | }
|
7099 7033 | #[allow(missing_docs)] // documentation missing in model
|
7100 7034 | pub fn list_of_range_byte(
|
7101 7035 | mut self,
|
7102 7036 | input: ::std::option::Option<::std::vec::Vec<crate::model::RangeByte>>,
|
7103 7037 | ) -> Self {
|
7104 7038 | self.list_of_range_byte = input.map(
|
7105 7039 | #[allow(clippy::redundant_closure)]
|
7106 7040 | |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
|
7107 7041 | );
|
7108 7042 | self
|
7109 7043 | }
|
7110 7044 | #[allow(missing_docs)] // documentation missing in model
|
7111 7045 | pub(crate) fn set_list_of_range_byte(
|
7112 7046 | mut self,
|
7113 7047 | input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_range_byte_constrained::ListOfRangeByteConstrained>>>,
|
7114 7048 | ) -> Self {
|
7115 7049 | self.list_of_range_byte = input.map(|v| v.into());
|
7116 7050 | self
|
7117 7051 | }
|
7118 7052 | #[allow(missing_docs)] // documentation missing in model
|
7119 7053 | pub fn set_of_range_byte(
|
7120 7054 | mut self,
|
7121 7055 | input: ::std::option::Option<crate::model::SetOfRangeByte>,
|
7122 7056 | ) -> Self {
|
7123 - | self.set_of_range_byte = input.map(
|
7124 - | #[allow(clippy::redundant_closure)]
|
7125 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
7126 - | );
|
7057 + | self.set_of_range_byte = input.map(crate::constrained::MaybeConstrained::Constrained);
|
7127 7058 | self
|
7128 7059 | }
|
7129 7060 | #[allow(missing_docs)] // documentation missing in model
|
7130 7061 | pub(crate) fn set_set_of_range_byte(
|
7131 7062 | mut self,
|
7132 7063 | input: Option<
|
7133 7064 | impl ::std::convert::Into<
|
7134 7065 | crate::constrained::MaybeConstrained<crate::model::SetOfRangeByte>,
|
7135 7066 | >,
|
7136 7067 | >,
|
7137 7068 | ) -> Self {
|
7138 7069 | self.set_of_range_byte = input.map(|v| v.into());
|
7139 7070 | self
|
7140 7071 | }
|
7141 7072 | #[allow(missing_docs)] // documentation missing in model
|
7142 7073 | pub fn map_of_range_byte(
|
7143 7074 | mut self,
|
7144 7075 | input: ::std::option::Option<
|
7145 7076 | ::std::collections::HashMap<::std::string::String, crate::model::RangeByte>,
|
7146 7077 | >,
|
7147 7078 | ) -> Self {
|
7148 7079 | self.map_of_range_byte = input.map(
|
7149 7080 | #[allow(clippy::redundant_closure)]
|
7150 7081 | |v| crate::constrained::MaybeConstrained::Constrained((v).into()),
|
7151 7082 | );
|
7152 7083 | self
|
7153 7084 | }
|
7154 7085 | #[allow(missing_docs)] // documentation missing in model
|
7155 7086 | pub(crate) fn set_map_of_range_byte(
|
7156 7087 | mut self,
|
7157 7088 | input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::map_of_range_byte_constrained::MapOfRangeByteConstrained>>>,
|
7158 7089 | ) -> Self {
|
7159 7090 | self.map_of_range_byte = input.map(|v| v.into());
|
7160 7091 | self
|
7161 7092 | }
|
7162 7093 | #[allow(missing_docs)] // documentation missing in model
|
7163 7094 | pub fn non_streaming_blob(
|
7164 7095 | mut self,
|
7165 7096 | input: ::std::option::Option<::aws_smithy_types::Blob>,
|
7166 7097 | ) -> Self {
|
7167 7098 | self.non_streaming_blob = input;
|
7168 7099 | self
|
7169 7100 | }
|
7170 7101 | #[allow(missing_docs)] // documentation missing in model
|
7171 7102 | pub(crate) fn set_non_streaming_blob(
|
7172 7103 | mut self,
|
7173 7104 | input: Option<impl ::std::convert::Into<::aws_smithy_types::Blob>>,
|
7174 7105 | ) -> Self {
|
7175 7106 | self.non_streaming_blob = input.map(|v| v.into());
|
7176 7107 | self
|
7177 7108 | }
|
7178 7109 | #[allow(missing_docs)] // documentation missing in model
|
7179 7110 | pub fn pattern_string(
|
7180 7111 | mut self,
|
7181 7112 | input: ::std::option::Option<crate::model::PatternString>,
|
7182 7113 | ) -> Self {
|
7183 - | self.pattern_string = input.map(
|
7184 - | #[allow(clippy::redundant_closure)]
|
7185 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
7186 - | );
|
7114 + | self.pattern_string = input.map(crate::constrained::MaybeConstrained::Constrained);
|
7187 7115 | self
|
7188 7116 | }
|
7189 7117 | #[allow(missing_docs)] // documentation missing in model
|
7190 7118 | pub(crate) fn set_pattern_string(
|
7191 7119 | mut self,
|
7192 7120 | input: Option<
|
7193 7121 | impl ::std::convert::Into<
|
7194 7122 | crate::constrained::MaybeConstrained<crate::model::PatternString>,
|
7195 7123 | >,
|
7196 7124 | >,
|
7328 7252 | input: Option<impl ::std::convert::Into<crate::constrained::MaybeConstrained<crate::constrained::list_of_length_pattern_string_constrained::ListOfLengthPatternStringConstrained>>>,
|
7329 7253 | ) -> Self {
|
7330 7254 | self.list_of_length_pattern_string = input.map(|v| v.into());
|
7331 7255 | self
|
7332 7256 | }
|
7333 7257 | #[allow(missing_docs)] // documentation missing in model
|
7334 7258 | pub fn set_of_length_pattern_string(
|
7335 7259 | mut self,
|
7336 7260 | input: ::std::option::Option<crate::model::SetOfLengthPatternString>,
|
7337 7261 | ) -> Self {
|
7338 - | self.set_of_length_pattern_string = input.map(
|
7339 - | #[allow(clippy::redundant_closure)]
|
7340 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
7341 - | );
|
7262 + | self.set_of_length_pattern_string =
|
7263 + | input.map(crate::constrained::MaybeConstrained::Constrained);
|
7342 7264 | self
|
7343 7265 | }
|
7344 7266 | #[allow(missing_docs)] // documentation missing in model
|
7345 7267 | pub(crate) fn set_set_of_length_pattern_string(
|
7346 7268 | mut self,
|
7347 7269 | input: Option<
|
7348 7270 | impl ::std::convert::Into<
|
7349 7271 | crate::constrained::MaybeConstrained<crate::model::SetOfLengthPatternString>,
|
7350 7272 | >,
|
7351 7273 | >,
|
7352 7274 | ) -> Self {
|
7353 7275 | self.set_of_length_pattern_string = input.map(|v| v.into());
|
7354 7276 | self
|
7355 7277 | }
|
7356 7278 | #[allow(missing_docs)] // documentation missing in model
|
7357 7279 | pub fn length_list_of_pattern_string(
|
7358 7280 | mut self,
|
7359 7281 | input: ::std::option::Option<crate::model::LengthListOfPatternString>,
|
7360 7282 | ) -> Self {
|
7361 - | self.length_list_of_pattern_string = input.map(
|
7362 - | #[allow(clippy::redundant_closure)]
|
7363 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
7364 - | );
|
7283 + | self.length_list_of_pattern_string =
|
7284 + | input.map(crate::constrained::MaybeConstrained::Constrained);
|
7365 7285 | self
|
7366 7286 | }
|
7367 7287 | #[allow(missing_docs)] // documentation missing in model
|
7368 7288 | pub(crate) fn set_length_list_of_pattern_string(
|
7369 7289 | mut self,
|
7370 7290 | input: Option<
|
7371 7291 | impl ::std::convert::Into<
|
7372 7292 | crate::constrained::MaybeConstrained<crate::model::LengthListOfPatternString>,
|
7373 7293 | >,
|
7374 7294 | >,
|
7375 7295 | ) -> Self {
|
7376 7296 | self.length_list_of_pattern_string = input.map(|v| v.into());
|
7377 7297 | self
|
7378 7298 | }
|
7379 7299 | #[allow(missing_docs)] // documentation missing in model
|
7380 7300 | pub fn length_set_of_pattern_string(
|
7381 7301 | mut self,
|
7382 7302 | input: ::std::option::Option<crate::model::LengthSetOfPatternString>,
|
7383 7303 | ) -> Self {
|
7384 - | self.length_set_of_pattern_string = input.map(
|
7385 - | #[allow(clippy::redundant_closure)]
|
7386 - | |v| crate::constrained::MaybeConstrained::Constrained(v),
|
7387 - | );
|
7304 + | self.length_set_of_pattern_string =
|
7305 + | input.map(crate::constrained::MaybeConstrained::Constrained);
|
7388 7306 | self
|
7389 7307 | }
|
7390 7308 | #[allow(missing_docs)] // documentation missing in model
|
7391 7309 | pub(crate) fn set_length_set_of_pattern_string(
|
7392 7310 | mut self,
|
7393 7311 | input: Option<
|
7394 7312 | impl ::std::convert::Into<
|
7395 7313 | crate::constrained::MaybeConstrained<crate::model::LengthSetOfPatternString>,
|
7396 7314 | >,
|
7397 7315 | >,
|