bookclerk_library::entities::plugin_placements
SeaORM entity for plugin_placements: the scheduler's input per instance.
| 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 plugin_instance_id: String,
pub replicas: Option<i64>,
pub constraints_json: String,
pub revision: i64,
pub updated_at: String,
pub updated_by: String,
pub placed: i64,
pub detail: String,
pub scheduled_at: String,
}
Row shape for this table (DeriveEntityModel).
Fields
plugin_instance_id: Placed instance.replicas: Hosts that should run the instance; empty means every host that qualifies and has room.constraints_json: JSON array of label constraints every chosen host must satisfy.revision: Compare-and-swap revision of the operator's intent.updated_at: RFC 3339 time of the last intent write.updated_by: Audit identity of the last intent writer.placed: Replicas the last scheduler pass placed.detail: Why the last pass placed fewer thanreplicas; empty when satisfied.scheduled_at: RFC 3339 time of the last scheduler pass that changed the status.
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 plugin_instance_id: ActiveValue<String>,
pub replicas: ActiveValue<Option<i64>>,
pub constraints_json: ActiveValue<String>,
pub revision: ActiveValue<i64>,
pub updated_at: ActiveValue<String>,
pub updated_by: ActiveValue<String>,
pub placed: ActiveValue<i64>,
pub detail: ActiveValue<String>,
pub scheduled_at: ActiveValue<String>,
}
Generated by sea-orm-macros
Fields
plugin_instance_id: Generated by sea-orm-macrosreplicas: Generated by sea-orm-macrosconstraints_json: Generated by sea-orm-macrosrevision: Generated by sea-orm-macrosupdated_at: Generated by sea-orm-macrosupdated_by: Generated by sea-orm-macrosplaced: Generated by sea-orm-macrosdetail: Generated by sea-orm-macrosscheduled_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 {
PluginInstanceId,
Replicas,
ConstraintsJson,
Revision,
UpdatedAt,
UpdatedBy,
Placed,
Detail,
ScheduledAt,
}
Generated by sea-orm-macros
Variants
PluginInstanceId: Generated by sea-orm-macrosReplicas: Generated by sea-orm-macrosConstraintsJson: Generated by sea-orm-macrosRevision: Generated by sea-orm-macrosUpdatedAt: Generated by sea-orm-macrosUpdatedBy: Generated by sea-orm-macrosPlaced: Generated by sea-orm-macrosDetail: Generated by sea-orm-macrosScheduledAt: Generated by sea-orm-macros
Implements: Clone, ColumnTrait, Copy, Debug, FromStr, Iden, IdenStatic, IntoEnumIterator
pub enum PrimaryKey {
PluginInstanceId,
}
Generated by sea-orm-macros
Variants
PluginInstanceId: 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