pub enum PersonOrTeam {
Person(Person),
Team(Team),
}Expand description
Represents either a Person or a Team
Variants§
Auto Trait Implementations§
impl Freeze for PersonOrTeam
impl RefUnwindSafe for PersonOrTeam
impl Send for PersonOrTeam
impl Sync for PersonOrTeam
impl Unpin for PersonOrTeam
impl UnwindSafe for PersonOrTeam
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