Struct dyer::info::Info [−][src]
pub struct Info {
pub marker: String,
pub id: u64,
pub from: Uri,
pub rank: i16,
pub gap: f64,
pub encoding: String,
pub unique: bool,
pub used: u32,
pub created: f64,
pub able: f64,
}
Expand description
basic meta data related 3 ranging
- identifier
id
,marker
,from
- time stamp
gap
,created
,able
- privilege
rank
,unique
,used
Some infomation must be specified, such as marker
, id
, and so on
Some can be set from other Info, like from
, used
and others are initialized as default, such as created
, able
, encoding
,
Fields
marker: String
the actor it belongs to
id: u64
identifier of the entity
from: Uri
uri that produces this entity
rank: i16
the priority of this entity, the higher the eariler get executed, 0 as default
gap: f64
time duration to execute the task it remains 0 until it moves to response,
encoding: String
the encoding when encoding uri
unique: bool
remove duplicate entity
, true
as default
used: u32
numbers that this entity
has used, by default,
commonly the threshold is 2 for Task
beyond which will ignore,
customize it in ArgApp
no restriction for Affix
created: f64
meta data that the entity
is created
able: f64
timestamp in seconds by which entity
is allowed to be executed
it is, as default, allowed when created
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Info
impl UnwindSafe for Info
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more