pub struct RepositoryFunction {
pub function: Arc<dyn Fn(Value) -> Pin<Box<dyn Future<Output = Value> + Send>> + Send + Sync>,
pub abstration: String,
pub args: Vec<String>,
}Fields§
§function: Arc<dyn Fn(Value) -> Pin<Box<dyn Future<Output = Value> + Send>> + Send + Sync>§abstration: String§args: Vec<String>Trait Implementations§
Source§impl Clone for RepositoryFunction
impl Clone for RepositoryFunction
Source§fn clone(&self) -> RepositoryFunction
fn clone(&self) -> RepositoryFunction
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 moreAuto Trait Implementations§
impl Freeze for RepositoryFunction
impl !RefUnwindSafe for RepositoryFunction
impl Send for RepositoryFunction
impl Sync for RepositoryFunction
impl Unpin for RepositoryFunction
impl !UnwindSafe for RepositoryFunction
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