pub struct ClockTransitionError {
pub code: ClockErrorCode,
pub message: String,
}Fields§
§code: ClockErrorCode§message: StringTrait Implementations§
Source§impl Clone for ClockTransitionError
impl Clone for ClockTransitionError
Source§impl Debug for ClockTransitionError
impl Debug for ClockTransitionError
Source§impl<'de> Deserialize<'de> for ClockTransitionError
impl<'de> Deserialize<'de> for ClockTransitionError
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 Display for ClockTransitionError
impl Display for ClockTransitionError
impl Eq for ClockTransitionError
Source§impl Error for ClockTransitionError
impl Error for ClockTransitionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl JsonSchema for ClockTransitionError
impl JsonSchema for ClockTransitionError
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 ClockTransitionError
impl PartialEq for ClockTransitionError
Source§impl Serialize for ClockTransitionError
impl Serialize for ClockTransitionError
impl StructuralPartialEq for ClockTransitionError
Auto Trait Implementations§
impl Freeze for ClockTransitionError
impl RefUnwindSafe for ClockTransitionError
impl Send for ClockTransitionError
impl Sync for ClockTransitionError
impl Unpin for ClockTransitionError
impl UnsafeUnpin for ClockTransitionError
impl UnwindSafe for ClockTransitionError
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