pub enum PersonOrganizationSelectRef {
Organization(OrganizationId),
Person(PersonId),
PersonAndOrganization(PersonAndOrganizationId),
}Variants§
Implementations§
Source§impl PersonOrganizationSelectRef
impl PersonOrganizationSelectRef
pub fn resolve<'m>( &self, model: &'m StepModel, ) -> PersonOrganizationSelectRefView<'m>
pub fn entity_key(&self) -> EntityKey
Trait Implementations§
Source§impl Clone for PersonOrganizationSelectRef
impl Clone for PersonOrganizationSelectRef
Source§fn clone(&self) -> PersonOrganizationSelectRef
fn clone(&self) -> PersonOrganizationSelectRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PersonOrganizationSelectRef
impl Debug for PersonOrganizationSelectRef
Source§impl PartialEq for PersonOrganizationSelectRef
impl PartialEq for PersonOrganizationSelectRef
Source§fn eq(&self, other: &PersonOrganizationSelectRef) -> bool
fn eq(&self, other: &PersonOrganizationSelectRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PersonOrganizationSelectRef
Auto Trait Implementations§
impl Freeze for PersonOrganizationSelectRef
impl RefUnwindSafe for PersonOrganizationSelectRef
impl Send for PersonOrganizationSelectRef
impl Sync for PersonOrganizationSelectRef
impl Unpin for PersonOrganizationSelectRef
impl UnsafeUnpin for PersonOrganizationSelectRef
impl UnwindSafe for PersonOrganizationSelectRef
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