pub async fn update<R, A>(
primary_key: &R::PrimaryKey,
input: R::Input,
ctx: &Context,
) -> Result<R, Error<UpdateError>>where
R: Update<A>,Expand description
Update resource R using action A. First
fetches an instance of R using the primary key.