430 430 | ) -> Self {
|
431 431 | self.r#enum = input.map(|v| v.into());
|
432 432 | self
|
433 433 | }
|
434 434 | #[allow(missing_docs)] // documentation missing in model
|
435 435 | pub fn self_(mut self, input: ::std::option::Option<bool>) -> Self {
|
436 436 | self.self_ = input;
|
437 437 | self
|
438 438 | }
|
439 439 | #[allow(missing_docs)] // documentation missing in model
|
440 - | pub(crate) fn set_self(mut self, input: Option<impl ::std::convert::Into<bool>>) -> Self {
|
440 + | pub(crate) fn set_self_(mut self, input: Option<impl ::std::convert::Into<bool>>) -> Self {
|
441 441 | self.self_ = input.map(|v| v.into());
|
442 442 | self
|
443 443 | }
|
444 444 | #[allow(missing_docs)] // documentation missing in model
|
445 445 | pub fn crate_(mut self, input: ::std::option::Option<bool>) -> Self {
|
446 446 | self.crate_ = input;
|
447 447 | self
|
448 448 | }
|
449 449 | #[allow(missing_docs)] // documentation missing in model
|
450 - | pub(crate) fn set_crate(mut self, input: Option<impl ::std::convert::Into<bool>>) -> Self {
|
450 + | pub(crate) fn set_crate_(mut self, input: Option<impl ::std::convert::Into<bool>>) -> Self {
|
451 451 | self.crate_ = input.map(|v| v.into());
|
452 452 | self
|
453 453 | }
|
454 454 | #[allow(missing_docs)] // documentation missing in model
|
455 455 | pub fn super_(mut self, input: ::std::option::Option<bool>) -> Self {
|
456 456 | self.super_ = input;
|
457 457 | self
|
458 458 | }
|
459 459 | #[allow(missing_docs)] // documentation missing in model
|
460 - | pub(crate) fn set_super(mut self, input: Option<impl ::std::convert::Into<bool>>) -> Self {
|
460 + | pub(crate) fn set_super_(mut self, input: Option<impl ::std::convert::Into<bool>>) -> Self {
|
461 461 | self.super_ = input.map(|v| v.into());
|
462 462 | self
|
463 463 | }
|
464 464 | #[allow(missing_docs)] // documentation missing in model
|
465 465 | pub fn build_value(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
466 466 | self.build_value = input;
|
467 467 | self
|
468 468 | }
|
469 469 | #[allow(missing_docs)] // documentation missing in model
|
470 - | pub(crate) fn set_build(
|
470 + | pub(crate) fn set_build_value(
|
471 471 | mut self,
|
472 472 | input: Option<impl ::std::convert::Into<::std::string::String>>,
|
473 473 | ) -> Self {
|
474 474 | self.build_value = input.map(|v| v.into());
|
475 475 | self
|
476 476 | }
|
477 477 | #[allow(missing_docs)] // documentation missing in model
|
478 478 | pub fn default_value(
|
479 479 | mut self,
|
480 480 | input: ::std::option::Option<::std::string::String>,
|
481 481 | ) -> Self {
|
482 482 | self.default_value = input;
|
483 483 | self
|
484 484 | }
|
485 485 | #[allow(missing_docs)] // documentation missing in model
|
486 - | pub(crate) fn set_default(
|
486 + | pub(crate) fn set_default_value(
|
487 487 | mut self,
|
488 488 | input: Option<impl ::std::convert::Into<::std::string::String>>,
|
489 489 | ) -> Self {
|
490 490 | self.default_value = input.map(|v| v.into());
|
491 491 | self
|
492 492 | }
|
493 493 | #[allow(missing_docs)] // documentation missing in model
|
494 494 | pub fn send(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
495 495 | self.send = input;
|
496 496 | self
|
497 497 | }
|
498 498 | #[allow(missing_docs)] // documentation missing in model
|
499 499 | pub(crate) fn set_send(
|
500 500 | mut self,
|
501 501 | input: Option<impl ::std::convert::Into<::std::string::String>>,
|
502 502 | ) -> Self {
|
503 503 | self.send = input.map(|v| v.into());
|
504 504 | self
|
505 505 | }
|
506 506 | /// Consumes the builder and constructs a [`RpcEchoInput`](crate::input::RpcEchoInput).
|
507 507 | ///
|
508 508 | /// The builder fails to construct a [`RpcEchoInput`](crate::input::RpcEchoInput) if a [`ConstraintViolation`] occurs.
|
509 509 | ///
|
510 510 | pub fn build(self) -> Result<crate::input::RpcEchoInput, ConstraintViolation> {
|
511 511 | self.build_enforcing_all_constraints()
|
512 512 | }
|
513 513 | fn build_enforcing_all_constraints(
|
514 514 | self,
|
515 515 | ) -> Result<crate::input::RpcEchoInput, ConstraintViolation> {
|
516 516 | Ok(crate::input::RpcEchoInput {
|
657 657 | ) -> Self {
|
658 658 | self.r#enum = input.map(|v| v.into());
|
659 659 | self
|
660 660 | }
|
661 661 | #[allow(missing_docs)] // documentation missing in model
|
662 662 | pub fn self_(mut self, input: ::std::option::Option<bool>) -> Self {
|
663 663 | self.self_ = input;
|
664 664 | self
|
665 665 | }
|
666 666 | #[allow(missing_docs)] // documentation missing in model
|
667 - | pub(crate) fn set_self(mut self, input: Option<impl ::std::convert::Into<bool>>) -> Self {
|
667 + | pub(crate) fn set_self_(mut self, input: Option<impl ::std::convert::Into<bool>>) -> Self {
|
668 668 | self.self_ = input.map(|v| v.into());
|
669 669 | self
|
670 670 | }
|
671 671 | #[allow(missing_docs)] // documentation missing in model
|
672 672 | pub fn crate_(mut self, input: ::std::option::Option<bool>) -> Self {
|
673 673 | self.crate_ = input;
|
674 674 | self
|
675 675 | }
|
676 676 | #[allow(missing_docs)] // documentation missing in model
|
677 - | pub(crate) fn set_crate(mut self, input: Option<impl ::std::convert::Into<bool>>) -> Self {
|
677 + | pub(crate) fn set_crate_(mut self, input: Option<impl ::std::convert::Into<bool>>) -> Self {
|
678 678 | self.crate_ = input.map(|v| v.into());
|
679 679 | self
|
680 680 | }
|
681 681 | #[allow(missing_docs)] // documentation missing in model
|
682 682 | pub fn super_(mut self, input: ::std::option::Option<bool>) -> Self {
|
683 683 | self.super_ = input;
|
684 684 | self
|
685 685 | }
|
686 686 | #[allow(missing_docs)] // documentation missing in model
|
687 - | pub(crate) fn set_super(mut self, input: Option<impl ::std::convert::Into<bool>>) -> Self {
|
687 + | pub(crate) fn set_super_(mut self, input: Option<impl ::std::convert::Into<bool>>) -> Self {
|
688 688 | self.super_ = input.map(|v| v.into());
|
689 689 | self
|
690 690 | }
|
691 691 | #[allow(missing_docs)] // documentation missing in model
|
692 692 | pub fn build_value(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
693 693 | self.build_value = input;
|
694 694 | self
|
695 695 | }
|
696 696 | #[allow(missing_docs)] // documentation missing in model
|
697 - | pub(crate) fn set_build(
|
697 + | pub(crate) fn set_build_value(
|
698 698 | mut self,
|
699 699 | input: Option<impl ::std::convert::Into<::std::string::String>>,
|
700 700 | ) -> Self {
|
701 701 | self.build_value = input.map(|v| v.into());
|
702 702 | self
|
703 703 | }
|
704 704 | #[allow(missing_docs)] // documentation missing in model
|
705 705 | pub fn default_value(
|
706 706 | mut self,
|
707 707 | input: ::std::option::Option<::std::string::String>,
|
708 708 | ) -> Self {
|
709 709 | self.default_value = input;
|
710 710 | self
|
711 711 | }
|
712 712 | #[allow(missing_docs)] // documentation missing in model
|
713 - | pub(crate) fn set_default(
|
713 + | pub(crate) fn set_default_value(
|
714 714 | mut self,
|
715 715 | input: Option<impl ::std::convert::Into<::std::string::String>>,
|
716 716 | ) -> Self {
|
717 717 | self.default_value = input.map(|v| v.into());
|
718 718 | self
|
719 719 | }
|
720 720 | #[allow(missing_docs)] // documentation missing in model
|
721 721 | pub fn send(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
722 722 | self.send = input;
|
723 723 | self
|
724 724 | }
|
725 725 | #[allow(missing_docs)] // documentation missing in model
|
726 726 | pub(crate) fn set_send(
|
727 727 | mut self,
|
728 728 | input: Option<impl ::std::convert::Into<::std::string::String>>,
|
729 729 | ) -> Self {
|
730 730 | self.send = input.map(|v| v.into());
|
731 731 | self
|
732 732 | }
|
733 733 | /// Consumes the builder and constructs a [`MatchInput`](crate::input::MatchInput).
|
734 734 | ///
|
735 735 | /// The builder fails to construct a [`MatchInput`](crate::input::MatchInput) if a [`ConstraintViolation`] occurs.
|
736 736 | ///
|
737 737 | pub fn build(self) -> Result<crate::input::MatchInput, ConstraintViolation> {
|
738 738 | self.build_enforcing_all_constraints()
|
739 739 | }
|
740 740 | fn build_enforcing_all_constraints(
|
741 741 | self,
|
742 742 | ) -> Result<crate::input::MatchInput, ConstraintViolation> {
|
743 743 | Ok(crate::input::MatchInput {
|
1037 1037 | ) -> Self {
|
1038 1038 | self.r#enum = input.map(|v| v.into());
|
1039 1039 | self
|
1040 1040 | }
|
1041 1041 | #[allow(missing_docs)] // documentation missing in model
|
1042 1042 | pub fn self_(mut self, input: ::std::option::Option<bool>) -> Self {
|
1043 1043 | self.self_ = input;
|
1044 1044 | self
|
1045 1045 | }
|
1046 1046 | #[allow(missing_docs)] // documentation missing in model
|
1047 - | pub(crate) fn set_self(mut self, input: Option<impl ::std::convert::Into<bool>>) -> Self {
|
1047 + | pub(crate) fn set_self_(mut self, input: Option<impl ::std::convert::Into<bool>>) -> Self {
|
1048 1048 | self.self_ = input.map(|v| v.into());
|
1049 1049 | self
|
1050 1050 | }
|
1051 1051 | #[allow(missing_docs)] // documentation missing in model
|
1052 1052 | pub fn crate_(mut self, input: ::std::option::Option<bool>) -> Self {
|
1053 1053 | self.crate_ = input;
|
1054 1054 | self
|
1055 1055 | }
|
1056 1056 | #[allow(missing_docs)] // documentation missing in model
|
1057 - | pub(crate) fn set_crate(mut self, input: Option<impl ::std::convert::Into<bool>>) -> Self {
|
1057 + | pub(crate) fn set_crate_(mut self, input: Option<impl ::std::convert::Into<bool>>) -> Self {
|
1058 1058 | self.crate_ = input.map(|v| v.into());
|
1059 1059 | self
|
1060 1060 | }
|
1061 1061 | #[allow(missing_docs)] // documentation missing in model
|
1062 1062 | pub fn super_(mut self, input: ::std::option::Option<bool>) -> Self {
|
1063 1063 | self.super_ = input;
|
1064 1064 | self
|
1065 1065 | }
|
1066 1066 | #[allow(missing_docs)] // documentation missing in model
|
1067 - | pub(crate) fn set_super(mut self, input: Option<impl ::std::convert::Into<bool>>) -> Self {
|
1067 + | pub(crate) fn set_super_(mut self, input: Option<impl ::std::convert::Into<bool>>) -> Self {
|
1068 1068 | self.super_ = input.map(|v| v.into());
|
1069 1069 | self
|
1070 1070 | }
|
1071 1071 | #[allow(missing_docs)] // documentation missing in model
|
1072 1072 | pub fn build_value(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
1073 1073 | self.build_value = input;
|
1074 1074 | self
|
1075 1075 | }
|
1076 1076 | #[allow(missing_docs)] // documentation missing in model
|
1077 - | pub(crate) fn set_build(
|
1077 + | pub(crate) fn set_build_value(
|
1078 1078 | mut self,
|
1079 1079 | input: Option<impl ::std::convert::Into<::std::string::String>>,
|
1080 1080 | ) -> Self {
|
1081 1081 | self.build_value = input.map(|v| v.into());
|
1082 1082 | self
|
1083 1083 | }
|
1084 1084 | #[allow(missing_docs)] // documentation missing in model
|
1085 1085 | pub fn default_value(
|
1086 1086 | mut self,
|
1087 1087 | input: ::std::option::Option<::std::string::String>,
|
1088 1088 | ) -> Self {
|
1089 1089 | self.default_value = input;
|
1090 1090 | self
|
1091 1091 | }
|
1092 1092 | #[allow(missing_docs)] // documentation missing in model
|
1093 - | pub(crate) fn set_default(
|
1093 + | pub(crate) fn set_default_value(
|
1094 1094 | mut self,
|
1095 1095 | input: Option<impl ::std::convert::Into<::std::string::String>>,
|
1096 1096 | ) -> Self {
|
1097 1097 | self.default_value = input.map(|v| v.into());
|
1098 1098 | self
|
1099 1099 | }
|
1100 1100 | #[allow(missing_docs)] // documentation missing in model
|
1101 1101 | pub fn send(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
1102 1102 | self.send = input;
|
1103 1103 | self
|
1104 1104 | }
|
1105 1105 | #[allow(missing_docs)] // documentation missing in model
|
1106 1106 | pub(crate) fn set_send(
|
1107 1107 | mut self,
|
1108 1108 | input: Option<impl ::std::convert::Into<::std::string::String>>,
|
1109 1109 | ) -> Self {
|
1110 1110 | self.send = input.map(|v| v.into());
|
1111 1111 | self
|
1112 1112 | }
|
1113 1113 | /// Consumes the builder and constructs a [`ReservedWordsAsMembersInput`](crate::input::ReservedWordsAsMembersInput).
|
1114 1114 | ///
|
1115 1115 | /// The builder fails to construct a [`ReservedWordsAsMembersInput`](crate::input::ReservedWordsAsMembersInput) if a [`ConstraintViolation`] occurs.
|
1116 1116 | ///
|
1117 1117 | pub fn build(
|
1118 1118 | self,
|
1119 1119 | ) -> Result<crate::input::ReservedWordsAsMembersInput, ConstraintViolation> {
|
1120 1120 | self.build_enforcing_all_constraints()
|
1121 1121 | }
|
1122 1122 | fn build_enforcing_all_constraints(
|
1123 1123 | self,
|