pub struct SignalPosition {
pub position: FilePosition,
pub freshness: PositionFreshness,
}Expand description
The position a filament change charged up to, and how fresh it is.
Fields§
§position: FilePositionThe position.
freshness: PositionFreshnessWhether it was read when the signal was handled, or is the last one recorded before it.
Trait Implementations§
Source§impl Clone for SignalPosition
impl Clone for SignalPosition
Source§impl Debug for SignalPosition
impl Debug for SignalPosition
Source§impl<'de> Deserialize<'de> for SignalPosition
impl<'de> Deserialize<'de> for SignalPosition
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 SignalPosition
Source§impl JsonSchema for SignalPosition
impl JsonSchema for SignalPosition
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 SignalPosition
impl PartialEq for SignalPosition
Source§impl Serialize for SignalPosition
impl Serialize for SignalPosition
impl StructuralPartialEq for SignalPosition
Auto Trait Implementations§
impl Freeze for SignalPosition
impl RefUnwindSafe for SignalPosition
impl Send for SignalPosition
impl Sync for SignalPosition
impl Unpin for SignalPosition
impl UnsafeUnpin for SignalPosition
impl UnwindSafe for SignalPosition
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