bookclerk_library::entities::notify_destinations
SeaORM entity for notify_destinations: where one notifier instance
sends, either a library channel or one patron's personal address.
| Item | Kind | Summary |
|---|---|---|
Model |
struct | Row shape for this table (DeriveEntityModel). |
ColumnIter |
struct | An iterator over the variants of [Column] |
Entity |
struct | Generated by sea-orm-macros |
PrimaryKeyIter |
struct | An iterator over the variants of [PrimaryKey] |
ActiveModel |
struct | Generated by sea-orm-macros |
RelationIter |
struct | An iterator over the variants of [Relation] |
Column |
enum | Generated by sea-orm-macros |
PrimaryKey |
enum | Generated by sea-orm-macros |
Relation |
enum | Declared SeaORM relations (none). |
pub struct Model {
pub id: String,
pub plugin_instance_id: String,
pub kind: String,
pub user_id: Option<i64>,
pub label: String,
pub address_json: String,
pub failure_count: i64,
pub paused_at: Option<String>,
pub paused_reason: Option<String>,
pub created_at: String,
pub updated_at: String,
}
Row shape for this table (DeriveEntityModel).
Fields
id: Random UUID; thedestinationIdthe notifier sees.plugin_instance_id: Notifier plugin instance that sends to this destination.kind:channelorpersonal.user_id: Patron who owns a personal destination;Nonefor a channel.label: Name shown to administrators or the patron; never a secret.address_json: Canonical address document of a personal destination; empty for a channel. May hold secrets, so it is never logged.failure_count: Permanent send failures since the last delivery.paused_at: RFC 3339 time the destination was paused;Nonewhile active.paused_reason: Why it was paused (the last failure reason).created_at: RFC 3339 creation time.updated_at: RFC 3339 time of the last write.
pub fn into_ex(self) -> Self
Generated by sea-orm-macros
Implements: Clone, Debug, Eq, From<Model>, FromQueryResult, IntoActiveModel<ActiveModel>, ModelTrait, PartialEq, TryFrom<ActiveModel>, TryIntoModel<Model>
pub struct ColumnIter {
/* private fields */
}
An iterator over the variants of Column
Implements: Clone, Debug, DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator
pub struct Entity;
Generated by sea-orm-macros
Implements: Clone, Copy, Debug, Default, EntityName, EntityTrait, Iden, IdenStatic
pub struct PrimaryKeyIter {
/* private fields */
}
An iterator over the variants of PrimaryKey
Implements: Clone, Debug, DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator
pub struct ActiveModel {
pub id: ActiveValue<String>,
pub plugin_instance_id: ActiveValue<String>,
pub kind: ActiveValue<String>,
pub user_id: ActiveValue<Option<i64>>,
pub label: ActiveValue<String>,
pub address_json: ActiveValue<String>,
pub failure_count: ActiveValue<i64>,
pub paused_at: ActiveValue<Option<String>>,
pub paused_reason: ActiveValue<Option<String>>,
pub created_at: ActiveValue<String>,
pub updated_at: ActiveValue<String>,
}
Generated by sea-orm-macros
Fields
id: Generated by sea-orm-macrosplugin_instance_id: Generated by sea-orm-macroskind: Generated by sea-orm-macrosuser_id: Generated by sea-orm-macroslabel: Generated by sea-orm-macrosaddress_json: Generated by sea-orm-macrosfailure_count: Generated by sea-orm-macrospaused_at: Generated by sea-orm-macrospaused_reason: Generated by sea-orm-macroscreated_at: Generated by sea-orm-macrosupdated_at: Generated by sea-orm-macros
Implements: ActiveModelBehavior, ActiveModelTrait, Clone, Debug, Default, From<Model>, IntoActiveModel<ActiveModel>, PartialEq, TryFrom<ActiveModel>, TryIntoModel<Model>
pub struct RelationIter {
/* private fields */
}
An iterator over the variants of Relation
Implements: Clone, Debug, DoubleEndedIterator, ExactSizeIterator, FusedIterator, Iterator
pub enum Column {
Id,
PluginInstanceId,
Kind,
UserId,
Label,
AddressJson,
FailureCount,
PausedAt,
PausedReason,
CreatedAt,
UpdatedAt,
}
Generated by sea-orm-macros
Variants
Id: Generated by sea-orm-macrosPluginInstanceId: Generated by sea-orm-macrosKind: Generated by sea-orm-macrosUserId: Generated by sea-orm-macrosLabel: Generated by sea-orm-macrosAddressJson: Generated by sea-orm-macrosFailureCount: Generated by sea-orm-macrosPausedAt: Generated by sea-orm-macrosPausedReason: Generated by sea-orm-macrosCreatedAt: Generated by sea-orm-macrosUpdatedAt: Generated by sea-orm-macros
Implements: Clone, ColumnTrait, Copy, Debug, FromStr, Iden, IdenStatic, IntoEnumIterator
pub enum PrimaryKey {
Id,
}
Generated by sea-orm-macros
Variants
Id: Generated by sea-orm-macros
Implements: Clone, Copy, Debug, Iden, IdenStatic, IntoEnumIterator, PrimaryKeyToColumn, PrimaryKeyTrait
pub enum Relation {}
Declared SeaORM relations (none).
Implements: Clone, Copy, Debug, IntoEnumIterator, RelationTrait
Generated from crates/bookclerk-library at main · View as Markdown