pub struct RemoteActionTarget {
pub provider: String,
pub address: ActionAddress,
}Expand description
Which published action an invocation names on the provider.
provider is an opaque token the provider issued in a CataloguePage
(which live app published the action); address is the app’s own stable
resource/action pair. A caller copies both from a catalogue entry and
never constructs a provider itself.
Fields§
§provider: String§address: ActionAddressImplementations§
Source§impl RemoteActionTarget
impl RemoteActionTarget
Sourcepub fn workspace_governance(workspace: &str, verb: &str) -> Self
pub fn workspace_governance(workspace: &str, verb: &str) -> Self
The governance action granted as verb (one of
tilo_action_policy::roles::governance, server.add and the like) on
the workspace workspace, at the address its tree publishes it
(workspace_governance_address).
Trait Implementations§
Source§impl Clone for RemoteActionTarget
impl Clone for RemoteActionTarget
Source§impl Debug for RemoteActionTarget
impl Debug for RemoteActionTarget
Source§impl<'de> Deserialize<'de> for RemoteActionTarget
impl<'de> Deserialize<'de> for RemoteActionTarget
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 RemoteActionTarget
Source§impl Hash for RemoteActionTarget
impl Hash for RemoteActionTarget
Source§impl PartialEq for RemoteActionTarget
impl PartialEq for RemoteActionTarget
Source§impl Serialize for RemoteActionTarget
impl Serialize for RemoteActionTarget
impl StructuralPartialEq for RemoteActionTarget
Auto Trait Implementations§
impl Forget for RemoteActionTarget
impl Freeze for RemoteActionTarget
impl Move for RemoteActionTarget
impl RefUnwindSafe for RemoteActionTarget
impl Send for RemoteActionTarget
impl Sync for RemoteActionTarget
impl Unpin for RemoteActionTarget
impl UnsafeUnpin for RemoteActionTarget
impl UnwindSafe for RemoteActionTarget
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