pub struct OsPurposeContext {
os: Os,
purpose: Purpose,
context: Context,
}Fields§
§os: Os§purpose: PurposeThe target purpose for this override.
context: ContextThe context for this override.
Implementations§
Trait Implementations§
Source§impl Debug for OsPurposeContext
impl Debug for OsPurposeContext
Source§impl<'de> Deserialize<'de> for OsPurposeContext
impl<'de> Deserialize<'de> for OsPurposeContext
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 Display for OsPurposeContext
impl Display for OsPurposeContext
Source§impl Hash for OsPurposeContext
impl Hash for OsPurposeContext
Source§impl Ord for OsPurposeContext
impl Ord for OsPurposeContext
Source§fn cmp(&self, other: &OsPurposeContext) -> Ordering
fn cmp(&self, other: &OsPurposeContext) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OsPurposeContext
impl PartialEq for OsPurposeContext
Source§impl PartialOrd for OsPurposeContext
impl PartialOrd for OsPurposeContext
Source§impl Serialize for OsPurposeContext
impl Serialize for OsPurposeContext
impl Eq for OsPurposeContext
impl StructuralPartialEq for OsPurposeContext
Auto Trait Implementations§
impl Freeze for OsPurposeContext
impl RefUnwindSafe for OsPurposeContext
impl Send for OsPurposeContext
impl Sync for OsPurposeContext
impl Unpin for OsPurposeContext
impl UnwindSafe for OsPurposeContext
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
§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of [
ToCompactString::to_compact_string()] Read more§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString]. Read more