Enum actix_tools::sentry::sentry_client::protocol::Orientation [−]
pub enum Orientation {
Portrait,
Landscape,
}Optional device screen orientation
Variants
PortraitPortrait device orientation.
LandscapeLandscape device orientation.
Trait Implementations
impl Serialize for Orientation
impl Serialize for Orientationfn 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 Orientationfn 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 Orientationfn clone(&self) -> Orientation
fn clone(&self) -> OrientationReturns 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 Orientationfn 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 Orientationfn 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 Orientationimpl PartialEq<Orientation> for Orientation
impl PartialEq<Orientation> for OrientationAuto Trait Implementations
impl Send for Orientation
impl Send for Orientationimpl Sync for Orientation
impl Sync for Orientation