pub enum InitialTime {
Timestamp(RawTime),
AutoProgress(AutoProgressConfig),
}Variants§
Timestamp(RawTime)
Sets the initial timestamp of the new instance to the provided value which must be at least
- 10 May 2021 10:00:01 AM CEST if the
cycles_mintingfeature is enabled inicp_features; - 06 May 2021 21:17:10 CEST otherwise.
AutoProgress(AutoProgressConfig)
Configures the new instance to make progress automatically, i.e., periodically update the time of the IC instance to the real time and execute rounds on the subnets. Creating the instance only returns after the certified time of the IC instance has been updated for the first time.
Trait Implementations§
Source§impl Clone for InitialTime
impl Clone for InitialTime
Source§impl Debug for InitialTime
impl Debug for InitialTime
Source§impl<'de> Deserialize<'de> for InitialTime
impl<'de> Deserialize<'de> for InitialTime
Source§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
impl Eq for InitialTime
Source§impl Hash for InitialTime
impl Hash for InitialTime
Source§impl JsonSchema for InitialTime
impl JsonSchema for InitialTime
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for InitialTime
impl PartialEq for InitialTime
Source§impl Serialize for InitialTime
impl Serialize for InitialTime
impl StructuralPartialEq for InitialTime
Auto Trait Implementations§
impl Freeze for InitialTime
impl RefUnwindSafe for InitialTime
impl Send for InitialTime
impl Sync for InitialTime
impl Unpin for InitialTime
impl UnsafeUnpin for InitialTime
impl UnwindSafe for InitialTime
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.