pub struct CustomerTypeRequest2 {
pub reqd: bool,
pub org_tp: Option<OrganisationType2>,
pub prvt_tp: Option<PersonType2>,
}Fields§
§reqd: bool§org_tp: Option<OrganisationType2>§prvt_tp: Option<PersonType2>Implementations§
Source§impl CustomerTypeRequest2
impl CustomerTypeRequest2
pub fn validate(&self) -> Result<(), ValidationError>
Auto Trait Implementations§
impl Freeze for CustomerTypeRequest2
impl RefUnwindSafe for CustomerTypeRequest2
impl Send for CustomerTypeRequest2
impl Sync for CustomerTypeRequest2
impl Unpin for CustomerTypeRequest2
impl UnwindSafe for CustomerTypeRequest2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more