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