pub trait Item {
type Id: PaperlessId;
type BaseType: DeserializeOwned;
type CreateDto: CreateDtoObject;
type UpdateDto: UpdateDtoObject;
// Required methods
fn endpoint() -> &'static str;
fn id(&self) -> Self::Id;
}Required Associated Types§
type Id: PaperlessId
type BaseType: DeserializeOwned
type CreateDto: CreateDtoObject
type UpdateDto: UpdateDtoObject
Required Methods§
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.