bookclerk_library::entities::clerk_links
SeaORM entity for clerk_links: on a clerk, the libraries this install
holds a library card for (written by control_plane::record_clerk_link).
| Item | Kind | Summary |
|---|---|---|
Model |
struct | One library this install signed in to with a library card. |
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 library_id: String,
pub origin: String,
pub spki_pin: Option<String>,
pub library_name: String,
pub remote_user_id: i64,
pub display_name: Option<String>,
pub clerk_name: String,
pub state: String,
pub created_at: String,
pub updated_at: String,
}
One library this install signed in to with a library card.
Fields
library_id: The library id, as its token answer named it.origin: The library's canonical origin (https://library.example).spki_pin: SPKI pin confirmed for a self-signed library, when it is one.library_name: The library's name, as its info reported it at sign-in.remote_user_id: The person's user id on the library.display_name: The person's display name on the library, when it has one.clerk_name: The name this install signed in as (shown in the person's session list on the library).state:activewhile the card is held,signed_outonce the library ended it.created_at: RFC 3339 time of the sign-in.updated_at: RFC 3339 time of the last change.
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 library_id: ActiveValue<String>,
pub origin: ActiveValue<String>,
pub spki_pin: ActiveValue<Option<String>>,
pub library_name: ActiveValue<String>,
pub remote_user_id: ActiveValue<i64>,
pub display_name: ActiveValue<Option<String>>,
pub clerk_name: ActiveValue<String>,
pub state: ActiveValue<String>,
pub created_at: ActiveValue<String>,
pub updated_at: ActiveValue<String>,
}
Generated by sea-orm-macros
Fields
library_id: Generated by sea-orm-macrosorigin: Generated by sea-orm-macrosspki_pin: Generated by sea-orm-macroslibrary_name: Generated by sea-orm-macrosremote_user_id: Generated by sea-orm-macrosdisplay_name: Generated by sea-orm-macrosclerk_name: Generated by sea-orm-macrosstate: 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 {
LibraryId,
Origin,
SpkiPin,
LibraryName,
RemoteUserId,
DisplayName,
ClerkName,
State,
CreatedAt,
UpdatedAt,
}
Generated by sea-orm-macros
Variants
LibraryId: Generated by sea-orm-macrosOrigin: Generated by sea-orm-macrosSpkiPin: Generated by sea-orm-macrosLibraryName: Generated by sea-orm-macrosRemoteUserId: Generated by sea-orm-macrosDisplayName: Generated by sea-orm-macrosClerkName: Generated by sea-orm-macrosState: 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 {
LibraryId,
}
Generated by sea-orm-macros
Variants
LibraryId: 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