pub struct PortDescriptor {
pub name: String,
pub semantic_type: String,
pub optional: bool,
pub layouts: Vec<Layout>,
pub max_bytes: u64,
pub domain: DomainType,
pub proof: ProofContract,
pub policy: PolicyContract,
pub fidelity: FidelityContract,
pub extent: ExtentContract,
pub lease: LeaseContract,
}Fields§
§name: String§semantic_type: String§optional: bool§layouts: Vec<Layout>§max_bytes: u64§domain: DomainType§proof: ProofContract§policy: PolicyContract§fidelity: FidelityContract§extent: ExtentContract§lease: LeaseContractImplementations§
Trait Implementations§
Source§impl Clone for PortDescriptor
impl Clone for PortDescriptor
Source§fn clone(&self) -> PortDescriptor
fn clone(&self) -> PortDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PortDescriptor
impl Debug for PortDescriptor
Source§impl<'de> Deserialize<'de> for PortDescriptor
impl<'de> Deserialize<'de> for PortDescriptor
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 PortDescriptor
Source§impl PartialEq for PortDescriptor
impl PartialEq for PortDescriptor
Source§impl Serialize for PortDescriptor
impl Serialize for PortDescriptor
impl StructuralPartialEq for PortDescriptor
Auto Trait Implementations§
impl Freeze for PortDescriptor
impl RefUnwindSafe for PortDescriptor
impl Send for PortDescriptor
impl Sync for PortDescriptor
impl Unpin for PortDescriptor
impl UnsafeUnpin for PortDescriptor
impl UnwindSafe for PortDescriptor
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