pub struct PromisorReply {
pub reply: Option<String>,
pub accepted: Vec<String>,
pub accepted_filters: Vec<(String, String)>,
}Expand description
The client’s reply to the server’s promisor-remote advertisement.
Fields§
§reply: Option<String>promisor-remote=<names> value to send back, or None to send nothing.
accepted: Vec<String>Names of accepted remotes (decoded), in advertisement order.
accepted_filters: Vec<(String, String)>For each accepted remote, its advertised partialCloneFilter (if any).
Auto Trait Implementations§
impl Freeze for PromisorReply
impl RefUnwindSafe for PromisorReply
impl Send for PromisorReply
impl Sync for PromisorReply
impl Unpin for PromisorReply
impl UnsafeUnpin for PromisorReply
impl UnwindSafe for PromisorReply
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