pub struct ProtocolV2FetchResponseHeader {
pub sections: Vec<ProtocolV2FetchResponseSection>,
pub has_packfile: bool,
}Fields§
§sections: Vec<ProtocolV2FetchResponseSection>§has_packfile: boolTrait Implementations§
Source§impl Clone for ProtocolV2FetchResponseHeader
impl Clone for ProtocolV2FetchResponseHeader
Source§fn clone(&self) -> ProtocolV2FetchResponseHeader
fn clone(&self) -> ProtocolV2FetchResponseHeader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ProtocolV2FetchResponseHeader
impl Default for ProtocolV2FetchResponseHeader
Source§fn default() -> ProtocolV2FetchResponseHeader
fn default() -> ProtocolV2FetchResponseHeader
Returns the “default value” for a type. Read more
impl Eq for ProtocolV2FetchResponseHeader
Source§impl PartialEq for ProtocolV2FetchResponseHeader
impl PartialEq for ProtocolV2FetchResponseHeader
Source§fn eq(&self, other: &ProtocolV2FetchResponseHeader) -> bool
fn eq(&self, other: &ProtocolV2FetchResponseHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProtocolV2FetchResponseHeader
Auto Trait Implementations§
impl Freeze for ProtocolV2FetchResponseHeader
impl RefUnwindSafe for ProtocolV2FetchResponseHeader
impl Send for ProtocolV2FetchResponseHeader
impl Sync for ProtocolV2FetchResponseHeader
impl Unpin for ProtocolV2FetchResponseHeader
impl UnsafeUnpin for ProtocolV2FetchResponseHeader
impl UnwindSafe for ProtocolV2FetchResponseHeader
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