pub struct SelectionSubject {
pub app_id: String,
pub app_label: String,
pub resource: ActionResource,
pub anchor: SelectionAnchor,
}Expand description
What a request is about: the resource a person had selected something in, and the selection. Only the subject of the request: it carries no authority, so a run about a selection may act anywhere its starter and its agent may (other resources, other apps), as any task may.
Fields§
§app_id: StringThe application the resource is in, by package id.
app_label: String§resource: ActionResource§anchor: SelectionAnchorImplementations§
Trait Implementations§
Source§impl Clone for SelectionSubject
impl Clone for SelectionSubject
Source§impl Debug for SelectionSubject
impl Debug for SelectionSubject
Source§impl<'de> Deserialize<'de> for SelectionSubject
impl<'de> Deserialize<'de> for SelectionSubject
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
impl Eq for SelectionSubject
Source§impl PartialEq for SelectionSubject
impl PartialEq for SelectionSubject
Source§impl Serialize for SelectionSubject
impl Serialize for SelectionSubject
impl StructuralPartialEq for SelectionSubject
Auto Trait Implementations§
impl Forget for SelectionSubject
impl Freeze for SelectionSubject
impl Move for SelectionSubject
impl RefUnwindSafe for SelectionSubject
impl Send for SelectionSubject
impl Sync for SelectionSubject
impl Unpin for SelectionSubject
impl UnsafeUnpin for SelectionSubject
impl UnwindSafe for SelectionSubject
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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