pub struct PullResponseV2 {
pub success: bool,
pub error: Option<String>,
pub patches: Vec<PatchProto>,
pub branches: Vec<BranchProto>,
pub blobs: Vec<BlobRef>,
pub deltas: Vec<BlobDelta>,
pub protocol_version: u32,
}Fields§
§success: bool§error: Option<String>§patches: Vec<PatchProto>§branches: Vec<BranchProto>§blobs: Vec<BlobRef>§deltas: Vec<BlobDelta>§protocol_version: u32Trait Implementations§
Source§impl Debug for PullResponseV2
impl Debug for PullResponseV2
Source§impl<'de> Deserialize<'de> for PullResponseV2
impl<'de> Deserialize<'de> for PullResponseV2
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PullResponseV2, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PullResponseV2, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for PullResponseV2
impl Serialize for PullResponseV2
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for PullResponseV2
impl RefUnwindSafe for PullResponseV2
impl Send for PullResponseV2
impl Sync for PullResponseV2
impl Unpin for PullResponseV2
impl UnsafeUnpin for PullResponseV2
impl UnwindSafe for PullResponseV2
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request