#[non_exhaustive]pub struct RunRegistered {
pub next_sequence: u64,
pub terminal_bytes: Option<u64>,
}Expand description
The gateway’s answer to a Run’s registration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.next_sequence: u64The sequence number of the next event of the Run the gateway takes.
terminal_bytes: Option<u64>The most terminal output the gateway takes in one event of this Run.
Implementations§
Trait Implementations§
Source§impl Clone for RunRegistered
impl Clone for RunRegistered
Source§impl Debug for RunRegistered
impl Debug for RunRegistered
Source§impl Default for RunRegistered
impl Default for RunRegistered
Source§impl<'de> Deserialize<'de> for RunRegistered
impl<'de> Deserialize<'de> for RunRegistered
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 RunRegistered
Source§impl FromValue for RunRegistered
impl FromValue for RunRegistered
Source§const KINDS: Kinds = ::guatiao::Kinds::MAP
const KINDS: Kinds = ::guatiao::Kinds::MAP
The kinds
from_value may accept; any
other is refused. Every impl in this crate and every derived one
says; the default, [Kinds::ANY], claims every kind, which keeps
a type that does not say out of an enum told apart by kind.Source§fn from_value(__value: &Value) -> Result<Self, MapError>
fn from_value(__value: &Value) -> Result<Self, MapError>
Performs the conversion. Read more
Source§impl FromWalk for RunRegistered
impl FromWalk for RunRegistered
Source§impl MapRead for RunRegistered
impl MapRead for RunRegistered
Source§impl PartialEq for RunRegistered
impl PartialEq for RunRegistered
Source§impl Schema for RunRegistered
impl Schema for RunRegistered
Source§impl Serialize for RunRegistered
impl Serialize for RunRegistered
impl StructuralPartialEq for RunRegistered
Source§impl ToValue for RunRegistered
impl ToValue for RunRegistered
Auto Trait Implementations§
impl Freeze for RunRegistered
impl RefUnwindSafe for RunRegistered
impl Send for RunRegistered
impl Sync for RunRegistered
impl Unpin for RunRegistered
impl UnsafeUnpin for RunRegistered
impl UnwindSafe for RunRegistered
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>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.