struct SessionIntentActionParameter {
session_id: String,
payload: Variant,
}Expand description
The payload of a SessionIntent, when converted to a GVariant for an
app action.
Fields§
§session_id: StringThe ID of the session that should handle the intent.
payload: VariantThe payload of the intent.
Trait Implementations§
Source§impl Clone for SessionIntentActionParameter
impl Clone for SessionIntentActionParameter
Source§fn clone(&self) -> SessionIntentActionParameter
fn clone(&self) -> SessionIntentActionParameter
Returns a duplicate 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 SessionIntentActionParameter
impl Debug for SessionIntentActionParameter
Source§impl From<SessionIntentActionParameter> for Variant
impl From<SessionIntentActionParameter> for Variant
Source§fn from(v: SessionIntentActionParameter) -> Variant
fn from(v: SessionIntentActionParameter) -> Variant
Converts to this type from the input type.
Source§impl StaticVariantType for SessionIntentActionParameter
impl StaticVariantType for SessionIntentActionParameter
Source§fn static_variant_type() -> Cow<'static, VariantTy>
fn static_variant_type() -> Cow<'static, VariantTy>
Returns the
VariantType corresponding to Self.Source§impl ToVariant for SessionIntentActionParameter
impl ToVariant for SessionIntentActionParameter
Source§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
Returns a
Variant clone of self.Auto Trait Implementations§
impl Freeze for SessionIntentActionParameter
impl RefUnwindSafe for SessionIntentActionParameter
impl Send for SessionIntentActionParameter
impl Sync for SessionIntentActionParameter
impl Unpin for SessionIntentActionParameter
impl UnsafeUnpin for SessionIntentActionParameter
impl UnwindSafe for SessionIntentActionParameter
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more