pub struct GetTreeResult {
pub kind: &'static str,
pub request_id: i64,
pub snapshot: Option<Box<RawValue>>,
pub error: Option<String>,
}Expand description
Answers a GetTree with exactly one of a snapshot or an error.
Fields§
§kind: &'static strWire discriminator (type on the wire).
request_id: i64Correlates a request with its answer.
snapshot: Option<Box<RawValue>>The tree being carried.
error: Option<String>Why the request could not be answered.
Implementations§
Trait Implementations§
Source§impl Clone for GetTreeResult
impl Clone for GetTreeResult
Source§fn clone(&self) -> GetTreeResult
fn clone(&self) -> GetTreeResult
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 Debug for GetTreeResult
impl Debug for GetTreeResult
Auto Trait Implementations§
impl Freeze for GetTreeResult
impl RefUnwindSafe for GetTreeResult
impl Send for GetTreeResult
impl Sync for GetTreeResult
impl Unpin for GetTreeResult
impl UnsafeUnpin for GetTreeResult
impl UnwindSafe for GetTreeResult
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