pub struct BindingState {
pub device_id: String,
pub session_lineage: Vec<String>,
pub event_cursor: EventCursor,
}Expand description
The run’s provider binding state (spine §6.6).
Fields§
§device_id: StringThe bound device.
session_lineage: Vec<String>Every provider session generation of this run, oldest first.
event_cursor: EventCursorCursor into the issuing session’s event log.
Trait Implementations§
Source§impl Clone for BindingState
impl Clone for BindingState
Source§fn clone(&self) -> BindingState
fn clone(&self) -> BindingState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BindingState
impl Debug for BindingState
Source§impl<'de> Deserialize<'de> for BindingState
impl<'de> Deserialize<'de> for BindingState
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
Source§impl JsonSchema for BindingState
impl JsonSchema for BindingState
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 inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for BindingState
impl PartialEq for BindingState
Source§impl Serialize for BindingState
impl Serialize for BindingState
impl StructuralPartialEq for BindingState
Auto Trait Implementations§
impl Freeze for BindingState
impl RefUnwindSafe for BindingState
impl Send for BindingState
impl Sync for BindingState
impl Unpin for BindingState
impl UnsafeUnpin for BindingState
impl UnwindSafe for BindingState
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