pub struct LibraryEntryObject {
pub spec: String,
pub docs_paths: Vec<String>,
}Expand description
Object form of a library entry — used ONLY when the user selected a subset of
candidate documentation paths. docs_paths is required and non-empty; an
empty override is indistinguishable from the default, so the canonical
“no override” form is the bare string. Unknown fields are rejected (parity
with the zod .strict()).
Fields§
§spec: String§docs_paths: Vec<String>Trait Implementations§
Source§impl Clone for LibraryEntryObject
impl Clone for LibraryEntryObject
Source§impl Debug for LibraryEntryObject
impl Debug for LibraryEntryObject
Source§impl<'de> Deserialize<'de> for LibraryEntryObject
impl<'de> Deserialize<'de> for LibraryEntryObject
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 LibraryEntryObject
Source§impl PartialEq for LibraryEntryObject
impl PartialEq for LibraryEntryObject
Source§impl Serialize for LibraryEntryObject
impl Serialize for LibraryEntryObject
impl StructuralPartialEq for LibraryEntryObject
Auto Trait Implementations§
impl Forget for LibraryEntryObject
impl Freeze for LibraryEntryObject
impl Move for LibraryEntryObject
impl RefUnwindSafe for LibraryEntryObject
impl Send for LibraryEntryObject
impl Sync for LibraryEntryObject
impl Unpin for LibraryEntryObject
impl UnsafeUnpin for LibraryEntryObject
impl UnwindSafe for LibraryEntryObject
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