pub trait ExternalIdEntity: Debug + Send + Sync {
    type RefTarget: RefTarget;

    fn external_id(&self) -> Option<ExternalId<Self::RefTarget>>;
    fn set_external_id(&mut self, value: ExternalId<Self::RefTarget>);

    fn update_external_id_from_ref(&mut self, ref_: &Ref<Self::RefTarget>) { ... }
    fn ensure_available_external_id<'life0, 'life1, 'async_trait>(
        &'life0 self,
        client: &'life1 impl 'async_trait + GenericClient,
        organization_id: Id<Organization>
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
, { ... } }
Expand description

An entity that has an ExternalId field

Required Associated Types§

Required Methods§

Provided Methods§

Implementors§