Skip to main content

MemoryAccount

Trait MemoryAccount 

Source
pub trait MemoryAccount: AuthAccount {
    // Required method
    fn from_create(
        id: String,
        create: &CreateAccount,
        now: DateTime<Utc>,
    ) -> Self;
}
Expand description

Construction for account entities stored in memory.

Required Methods§

Source

fn from_create(id: String, create: &CreateAccount, now: DateTime<Utc>) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§