pub struct HttpBoundary {
pub node: Node,
pub method: String,
pub path: String,
pub role: BoundaryRole,
pub evidence: Evidence,
}Expand description
HTTP operation plus the evidence that established it.
Fields§
§node: NodeFederated graph node for this repository-local boundary.
method: StringCanonical upper-case HTTP method.
path: StringCanonical path template.
role: BoundaryRoleConsumer or provider direction.
evidence: EvidenceDirect evidence for the boundary.
Implementations§
Source§impl HttpBoundary
impl HttpBoundary
Sourcepub fn consumer(repo_id: RepoId, config: &HttpConsumerConfig) -> Self
pub fn consumer(repo_id: RepoId, config: &HttpConsumerConfig) -> Self
Creates a declared HTTP consumer from strict manifest configuration.
Trait Implementations§
Source§impl Clone for HttpBoundary
impl Clone for HttpBoundary
Source§fn clone(&self) -> HttpBoundary
fn clone(&self) -> HttpBoundary
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 HttpBoundary
impl Debug for HttpBoundary
Source§impl PartialEq for HttpBoundary
impl PartialEq for HttpBoundary
impl StructuralPartialEq for HttpBoundary
Auto Trait Implementations§
impl Freeze for HttpBoundary
impl RefUnwindSafe for HttpBoundary
impl Send for HttpBoundary
impl Sync for HttpBoundary
impl Unpin for HttpBoundary
impl UnsafeUnpin for HttpBoundary
impl UnwindSafe for HttpBoundary
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