pub struct FleetMovement {
pub role: FleetRole,
pub squad_id: Option<i64>,
pub wing_id: Option<i64>,
}Expand description
The body of a request to move a fleet member.
Fields§
§role: FleetRoleNew role of the member.
squad_id: Option<i64>New squad of the member, when the role requires it.
wing_id: Option<i64>New wing of the member, when the role requires it.
Trait Implementations§
Source§impl Clone for FleetMovement
impl Clone for FleetMovement
Source§impl Debug for FleetMovement
impl Debug for FleetMovement
Auto Trait Implementations§
impl Freeze for FleetMovement
impl RefUnwindSafe for FleetMovement
impl Send for FleetMovement
impl Sync for FleetMovement
impl Unpin for FleetMovement
impl UnsafeUnpin for FleetMovement
impl UnwindSafe for FleetMovement
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