pub struct View<'a> {
pub symbols: Cow<'a, [Symbol]>,
pub edges: Cow<'a, [Edge]>,
pub entries: Cow<'a, [Entry]>,
pub conventions: Cow<'a, [Convention]>,
pub manual: Cow<'a, [Manual]>,
pub deps: Cow<'a, [InternalDep]>,
pub problem: Option<String>,
}Expand description
The parts of an index a server sends a client; the client rebuilds the rest.
Fields§
§symbols: Cow<'a, [Symbol]>§edges: Cow<'a, [Edge]>§entries: Cow<'a, [Entry]>Ledger entries with the status and trust the server derived.
conventions: Cow<'a, [Convention]>§manual: Cow<'a, [Manual]>§deps: Cow<'a, [InternalDep]>§problem: Option<String>Trait Implementations§
Source§impl<'de, 'a> Deserialize<'de> for View<'a>
impl<'de, 'a> Deserialize<'de> for View<'a>
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<'a> Forget for View<'a>
impl<'a> Freeze for View<'a>
impl<'a> RefUnwindSafe for View<'a>
impl<'a> Send for View<'a>
impl<'a> Sync for View<'a>
impl<'a> Unpin for View<'a>
impl<'a> UnsafeUnpin for View<'a>
impl<'a> UnwindSafe for View<'a>
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