pub struct ModelPort {
pub name: String,
pub port_type: Option<String>,
pub direction: Option<PortDirection>,
}Fields§
§name: String§port_type: Option<String>ポートの型の名前。型を書いていなければ省く。
direction: Option<PortDirection>向き。書いていなければ省く。
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ModelPort
impl<'de> Deserialize<'de> for ModelPort
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 ModelPort
impl StructuralPartialEq for ModelPort
Auto Trait Implementations§
impl Forget for ModelPort
impl Freeze for ModelPort
impl Move for ModelPort
impl RefUnwindSafe for ModelPort
impl Send for ModelPort
impl Sync for ModelPort
impl Unpin for ModelPort
impl UnsafeUnpin for ModelPort
impl UnwindSafe for ModelPort
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