pub struct FpgaUpdate {
pub host_interface: Option<ProcessorInterfaceUpdate>,
pub external_interfaces: Option<Vec<ProcessorInterfaceUpdate>>,
pub pcie_virtual_functions: Option<Int64>,
pub programmable_from_host: Option<Boolean>,
pub reconfiguration_slots: Option<Vec<FpgaReconfigurationSlotUpdate>>,
pub oem: Option<OemUpdate>,
}Expand description
Update struct corresponding to Fpga
Fields§
§host_interface: Option<ProcessorInterfaceUpdate>§external_interfaces: Option<Vec<ProcessorInterfaceUpdate>>§pcie_virtual_functions: Option<Int64>§programmable_from_host: Option<Boolean>§reconfiguration_slots: Option<Vec<FpgaReconfigurationSlotUpdate>>§oem: Option<OemUpdate>Implementations§
Source§impl FpgaUpdate
impl FpgaUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_host_interface(self, v: ProcessorInterfaceUpdate) -> Self
pub fn with_external_interfaces(self, v: Vec<ProcessorInterfaceUpdate>) -> Self
pub fn with_pcie_virtual_functions(self, v: Int64) -> Self
pub fn with_programmable_from_host(self, v: Boolean) -> Self
pub fn with_reconfiguration_slots( self, v: Vec<FpgaReconfigurationSlotUpdate>, ) -> Self
pub fn with_oem(self, v: OemUpdate) -> Self
Trait Implementations§
Source§impl Debug for FpgaUpdate
impl Debug for FpgaUpdate
Source§impl Default for FpgaUpdate
impl Default for FpgaUpdate
Source§fn default() -> FpgaUpdate
fn default() -> FpgaUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FpgaUpdate
impl RefUnwindSafe for FpgaUpdate
impl Send for FpgaUpdate
impl Sync for FpgaUpdate
impl Unpin for FpgaUpdate
impl UnsafeUnpin for FpgaUpdate
impl UnwindSafe for FpgaUpdate
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