pub struct ActionRef {
pub id: &'static str,
}Expand description
Reference to a server action, created with action!(path::to::fn).
As a part of form![..] it sets method="post" and the action URL, so
the form works without JavaScript and is enhanced when the client runtime
is loaded. The URL is different for every visitor and page view.
Fields§
§id: &'static strImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for ActionRef
impl Freeze for ActionRef
impl Move for ActionRef
impl RefUnwindSafe for ActionRef
impl Send for ActionRef
impl Sync for ActionRef
impl Unpin for ActionRef
impl UnsafeUnpin for ActionRef
impl UnwindSafe for ActionRef
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