Enum ascom_alpaca::api::DriveRate
source · #[repr(i32)]pub enum DriveRate {
Sidereal,
Lunar,
Solar,
King,
}Available on crate feature
telescope only.Expand description
DriveRate enum corresponding to one of the standard drive rates.
Variants§
Sidereal
15.041 arcseconds per second
Lunar
14.685 arcseconds per second
Solar
15.0 arcseconds per second
King
15.0369 arcseconds per second
Trait Implementations§
source§impl<'de> Deserialize<'de> for DriveRate
impl<'de> Deserialize<'de> for DriveRate
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 PartialEq<DriveRate> for DriveRate
impl PartialEq<DriveRate> for DriveRate
source§impl TryFrom<i32> for DriveRate
impl TryFrom<i32> for DriveRate
§type Error = TryFromPrimitiveError<DriveRate>
type Error = TryFromPrimitiveError<DriveRate>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for DriveRate
impl TryFromPrimitive for DriveRate
impl Copy for DriveRate
impl Eq for DriveRate
impl StructuralEq for DriveRate
impl StructuralPartialEq for DriveRate
Auto Trait Implementations§
impl RefUnwindSafe for DriveRate
impl Send for DriveRate
impl Sync for DriveRate
impl Unpin for DriveRate
impl UnwindSafe for DriveRate
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.