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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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