pub struct ApiSnapshot {
pub crate_name: String,
pub version: Option<String>,
pub items: Vec<ApiItem>,
pub extracted_at: String,
}Expand description
A snapshot of all public API items in a crate.
Fields§
§crate_name: String§version: Option<String>§items: Vec<ApiItem>§extracted_at: StringTrait Implementations§
Source§impl Clone for ApiSnapshot
impl Clone for ApiSnapshot
Source§fn clone(&self) -> ApiSnapshot
fn clone(&self) -> ApiSnapshot
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 ApiSnapshot
impl Debug for ApiSnapshot
Source§impl<'de> Deserialize<'de> for ApiSnapshot
impl<'de> Deserialize<'de> for ApiSnapshot
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 Freeze for ApiSnapshot
impl RefUnwindSafe for ApiSnapshot
impl Send for ApiSnapshot
impl Sync for ApiSnapshot
impl Unpin for ApiSnapshot
impl UnsafeUnpin for ApiSnapshot
impl UnwindSafe for ApiSnapshot
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