pub struct FederationConfig {
pub enabled: bool,
pub apollo_version: Option<u32>,
pub entities: Vec<FederationEntity>,
}Expand description
Federation configuration
Fields§
§enabled: boolEnable Apollo federation
apollo_version: Option<u32>Apollo federation version
entities: Vec<FederationEntity>Federated entities
Trait Implementations§
Source§impl Clone for FederationConfig
impl Clone for FederationConfig
Source§fn clone(&self) -> FederationConfig
fn clone(&self) -> FederationConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 FederationConfig
impl Debug for FederationConfig
Source§impl Default for FederationConfig
impl Default for FederationConfig
Source§impl<'de> Deserialize<'de> for FederationConfigwhere
FederationConfig: Default,
impl<'de> Deserialize<'de> for FederationConfigwhere
FederationConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FederationConfig
impl RefUnwindSafe for FederationConfig
impl Send for FederationConfig
impl Sync for FederationConfig
impl Unpin for FederationConfig
impl UnwindSafe for FederationConfig
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