pub struct DelegateSpec {
pub app: String,
pub resource: String,
pub key: Option<String>,
}Expand description
Target of an Outcome::Delegate — the app/resource/key to re-dispatch to.
Fields§
§app: StringTarget application id.
resource: StringTarget resource (table) name.
key: Option<String>Target record key; None for a collection-level operation.
Trait Implementations§
Source§impl Clone for DelegateSpec
impl Clone for DelegateSpec
Source§fn clone(&self) -> DelegateSpec
fn clone(&self) -> DelegateSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DelegateSpec
impl RefUnwindSafe for DelegateSpec
impl Send for DelegateSpec
impl Sync for DelegateSpec
impl Unpin for DelegateSpec
impl UnsafeUnpin for DelegateSpec
impl UnwindSafe for DelegateSpec
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