pub struct Command {
pub name: String,
pub target: String,
pub code: u16,
pub parameters: Vec<Parameter>,
pub is_danger: bool,
pub is_restricted: bool,
pub description: String,
pub note: String,
}Expand description
コマンド定義
Fields§
§name: Stringコマンド名
target: String§code: u16コマンドのID
parameters: Vec<Parameter>コマンドのパラメータのリスト。要素数は0以上6個以下
is_danger: bool§is_restricted: bool§description: Stringコマンドの説明(衛星運用者向け)
note: Stringコマンドの説明(衛星開発者向け)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Command
impl<'de> Deserialize<'de> for Command
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Command
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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