pub struct Builder { /* private fields */ }
Expand description
A builder for ValidationExceptionField
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
The message associated with the validation exception with information to help determine its cause.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
The message associated with the validation exception with information to help determine its cause.
sourcepub fn build(self) -> ValidationExceptionField
pub fn build(self) -> ValidationExceptionField
Consumes the builder and constructs a ValidationExceptionField
.