pub struct BridgeReport {
pub packet_cid: String,
pub accepted_parts: Vec<String>,
pub rejected_parts: Vec<String>,
pub obligations: Vec<BridgeObligation>,
}Expand description
Receive-check report for one BRIDGE packet.
Fields§
§packet_cid: StringPacket content id used for reporting.
accepted_parts: Vec<String>Accepted part ids.
rejected_parts: Vec<String>Rejected part ids.
obligations: Vec<BridgeObligation>Obligations that must be repaired before the packet is accepted.
Implementations§
Source§impl BridgeReport
impl BridgeReport
Sourcepub fn obligate(&mut self, obligation: BridgeObligation)
pub fn obligate(&mut self, obligation: BridgeObligation)
Appends an obligation.
Trait Implementations§
Source§impl Clone for BridgeReport
impl Clone for BridgeReport
Source§fn clone(&self) -> BridgeReport
fn clone(&self) -> BridgeReport
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 BridgeReport
impl Debug for BridgeReport
impl Eq for BridgeReport
Source§impl PartialEq for BridgeReport
impl PartialEq for BridgeReport
impl StructuralPartialEq for BridgeReport
Auto Trait Implementations§
impl Freeze for BridgeReport
impl RefUnwindSafe for BridgeReport
impl Send for BridgeReport
impl Sync for BridgeReport
impl Unpin for BridgeReport
impl UnsafeUnpin for BridgeReport
impl UnwindSafe for BridgeReport
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.