Enum actix_tools::sentry::sentry_client::protocol::Orientation [−]
pub enum Orientation { Portrait, Landscape, }
Optional device screen orientation
Variants
Portrait
Portrait device orientation.
Landscape
Landscape device orientation.
Trait Implementations
impl Serialize for Orientation
impl Serialize for Orientation
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Hash for Orientation
impl Hash for Orientation
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Clone for Orientation
impl Clone for Orientation
fn clone(&self) -> Orientation
fn clone(&self) -> Orientation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Orientation
impl Debug for Orientation
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<'de> Deserialize<'de> for Orientation
impl<'de> Deserialize<'de> for Orientation
fn deserialize<__D>(
__deserializer: __D
) -> Result<Orientation, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Orientation, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Orientation
impl Eq for Orientation
impl PartialEq<Orientation> for Orientation
impl PartialEq<Orientation> for Orientation
Auto Trait Implementations
impl Send for Orientation
impl Send for Orientation
impl Sync for Orientation
impl Sync for Orientation