pub struct ExportUnit {
pub id: String,
pub intent: String,
pub contract: Option<Contract>,
pub deps: Vec<String>,
pub local_tests: Vec<LocalTest>,
pub source_file: String,
}Fields§
§id: String§intent: String§contract: Option<Contract>§deps: Vec<String>§local_tests: Vec<LocalTest>§source_file: StringTrait Implementations§
Source§impl Clone for ExportUnit
impl Clone for ExportUnit
Source§fn clone(&self) -> ExportUnit
fn clone(&self) -> ExportUnit
Returns a duplicate of the value. Read more
1.0.0 · 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 ExportUnit
impl Debug for ExportUnit
Source§impl<'de> Deserialize<'de> for ExportUnit
impl<'de> Deserialize<'de> for ExportUnit
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
Source§impl From<&LoadedSpec> for ExportUnit
impl From<&LoadedSpec> for ExportUnit
Source§fn from(spec: &LoadedSpec) -> Self
fn from(spec: &LoadedSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExportUnit
impl PartialEq for ExportUnit
Source§impl Serialize for ExportUnit
impl Serialize for ExportUnit
impl StructuralPartialEq for ExportUnit
Auto Trait Implementations§
impl Freeze for ExportUnit
impl RefUnwindSafe for ExportUnit
impl Send for ExportUnit
impl Sync for ExportUnit
impl Unpin for ExportUnit
impl UnsafeUnpin for ExportUnit
impl UnwindSafe for ExportUnit
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