pub trait PersonalData:
Send
+ Sync
+ 'static {
// Required methods
fn name(&self) -> &'static str;
fn export<'a>(
&'a self,
read: &'a Read,
account: Uuid,
) -> BoxFuture<'a, Result<Value>>;
// Provided method
fn closing<'a>(
&'a self,
read: &'a Read,
account: Uuid,
) -> BoxFuture<'a, Result<Vec<Box<dyn Closable>>>> { ... }
}Expand description
What a module holds of an account, exported beside sofie-identity’s own records.
Required Methods§
fn name(&self) -> &'static str
fn export<'a>( &'a self, read: &'a Read, account: Uuid, ) -> BoxFuture<'a, Result<Value>>
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".