pub struct Subgraph {
pub name: String,
pub url: String,
pub entities: Vec<String>,
}Expand description
Subgraph in federation
Fields§
§name: StringSubgraph name
url: StringSubgraph endpoint URL
entities: Vec<String>Entities provided by this subgraph
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Subgraph
impl RefUnwindSafe for Subgraph
impl Send for Subgraph
impl Sync for Subgraph
impl Unpin for Subgraph
impl UnwindSafe for Subgraph
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