pub struct Route {
pub field: &'static str,
pub part: Part,
pub key: Option<&'static str>,
}Expand description
Where one field of a generated action’s flat input goes in the request.
Fields§
§field: &'static strThe field’s name in the serialized input.
part: PartThe request part it belongs to.
key: Option<&'static str>Its key within that part, or None when the field is the whole part.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Route
impl Freeze for Route
impl Move for Route
impl RefUnwindSafe for Route
impl Send for Route
impl Sync for Route
impl Unpin for Route
impl UnsafeUnpin for Routewhere
&'static str: UnsafeUnpin,
impl UnwindSafe for Routewhere
&'static str: UnwindSafe,
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