How to call a canister method with payment outside of caniser?

Hello Dears!

How can I call a canister method with payment from outside of any canister using agent-rs like thing, instead to call a canister method from inside of a canister?