pub struct ApiUnit {
pub unit: String,
pub module: String,
pub exports: Vec<String>,
}Expand description
One unit of the library’s public API, as analyze found it.
Fields§
§unit: String§module: StringThe module that re-exports it in rust/app.
exports: Vec<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ApiUnit
impl<'de> Deserialize<'de> for ApiUnit
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
Auto Trait Implementations§
impl Forget for ApiUnit
impl Freeze for ApiUnit
impl Move for ApiUnit
impl RefUnwindSafe for ApiUnit
impl Send for ApiUnitwhere
RawVecInner: Send,
impl Sync for ApiUnitwhere
RawVecInner: Sync,
impl Unpin for ApiUnit
impl UnsafeUnpin for ApiUnitwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for ApiUnitwhere
RawVecInner: UnwindSafe,
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