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.
Fields§
§id: &'static strImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze 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