Enum ascom_alpaca::api::SideOfPier
source · #[repr(i32)]pub enum SideOfPier {
East,
West,
Unknown,
}Available on crate feature
telescope only.Expand description
Returned side of pier
Variants§
East
Normal pointing state - Mount on the East side of pier (looking West).
West
Through the pole pointing state - Mount on the West side of pier (looking East).
Unknown
Unknown or indeterminate.
Trait Implementations§
source§impl Clone for SideOfPier
impl Clone for SideOfPier
source§fn clone(&self) -> SideOfPier
fn clone(&self) -> SideOfPier
Returns a copy of the value. Read more
1.0.0 · 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 SideOfPier
impl Debug for SideOfPier
source§impl<'de> Deserialize<'de> for SideOfPier
impl<'de> Deserialize<'de> for SideOfPier
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 From<SideOfPier> for i32
impl From<SideOfPier> for i32
source§fn from(enum_value: SideOfPier) -> Self
fn from(enum_value: SideOfPier) -> Self
Converts to this type from the input type.
source§impl PartialEq<SideOfPier> for SideOfPier
impl PartialEq<SideOfPier> for SideOfPier
source§fn eq(&self, other: &SideOfPier) -> bool
fn eq(&self, other: &SideOfPier) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SideOfPier
impl Serialize for SideOfPier
source§impl TryFrom<i32> for SideOfPier
impl TryFrom<i32> for SideOfPier
§type Error = TryFromPrimitiveError<SideOfPier>
type Error = TryFromPrimitiveError<SideOfPier>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for SideOfPier
impl TryFromPrimitive for SideOfPier
impl Copy for SideOfPier
impl Eq for SideOfPier
impl StructuralEq for SideOfPier
impl StructuralPartialEq for SideOfPier
Auto Trait Implementations§
impl RefUnwindSafe for SideOfPier
impl Send for SideOfPier
impl Sync for SideOfPier
impl Unpin for SideOfPier
impl UnwindSafe for SideOfPier
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.