pub enum CustomerRefMut<'__superstruct> {
V1(&'__superstruct mut CustomerV1),
V2(&'__superstruct mut CustomerV2),
V3(&'__superstruct mut CustomerV3),
}
Variants§
V1(&'__superstruct mut CustomerV1)
V2(&'__superstruct mut CustomerV2)
V3(&'__superstruct mut CustomerV3)
Implementations§
Source§impl<'__superstruct> CustomerRefMut<'__superstruct>
impl<'__superstruct> CustomerRefMut<'__superstruct>
pub fn name_mut(&'__superstruct mut self) -> &'__superstruct mut String
pub fn age_v1_mut( &'__superstruct mut self, ) -> Result<&'__superstruct mut String, ()>
pub fn age_v2_mut( &'__superstruct mut self, ) -> Result<&'__superstruct mut u64, ()>
pub fn dob_mut(&'__superstruct mut self) -> Result<&'__superstruct mut u64, ()>
pub fn favourite_colour_mut( &'__superstruct mut self, ) -> Result<&'__superstruct mut String, ()>
Auto Trait Implementations§
impl<'__superstruct> Freeze for CustomerRefMut<'__superstruct>
impl<'__superstruct> RefUnwindSafe for CustomerRefMut<'__superstruct>
impl<'__superstruct> Send for CustomerRefMut<'__superstruct>
impl<'__superstruct> Sync for CustomerRefMut<'__superstruct>
impl<'__superstruct> Unpin for CustomerRefMut<'__superstruct>
impl<'__superstruct> !UnwindSafe for CustomerRefMut<'__superstruct>
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