Enum sentry::protocol::Orientation [−]
pub enum Orientation { Portrait, Landscape, }
Expand description
Optional device screen orientation
Variants
Portrait device orientation.
Landscape device orientation.
Trait Implementations
impl Clone for Orientation
impl Clone for Orientation
pub fn clone(&self) -> Orientation
pub fn clone(&self) -> Orientation
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for Orientation
impl Debug for Orientation
impl<'de> Deserialize<'de> for Orientation
impl<'de> Deserialize<'de> for Orientation
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Orientation, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub 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 Hash for Orientation
impl Hash for Orientation
impl PartialEq<Orientation> for Orientation
impl PartialEq<Orientation> for Orientation
impl Serialize for Orientation
impl Serialize for Orientation
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub 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 Eq for Orientation
impl StructuralEq for Orientation
impl StructuralPartialEq for Orientation
Auto Trait Implementations
impl RefUnwindSafe for Orientation
impl Send for Orientation
impl Sync for Orientation
impl Unpin for Orientation
impl UnwindSafe for Orientation
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,