pub enum CommunityScope {
Federated,
Repository(RepoId),
Service(String),
Workspace,
}Expand description
Scope over which communities are detected.
Variants§
Federated
Entire current federated graph.
Repository(RepoId)
Nodes owned by one repository.
Service(String)
Nodes associated with one exact service stable key.
Workspace
Every node in the selected workspace.
Trait Implementations§
Source§impl Clone for CommunityScope
impl Clone for CommunityScope
Source§fn clone(&self) -> CommunityScope
fn clone(&self) -> CommunityScope
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 CommunityScope
impl Debug for CommunityScope
Source§impl<'de> Deserialize<'de> for CommunityScope
impl<'de> Deserialize<'de> for CommunityScope
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
impl Eq for CommunityScope
Source§impl JsonSchema for CommunityScope
impl JsonSchema for CommunityScope
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for CommunityScope
impl PartialEq for CommunityScope
Source§impl Serialize for CommunityScope
impl Serialize for CommunityScope
impl StructuralPartialEq for CommunityScope
Auto Trait Implementations§
impl Freeze for CommunityScope
impl RefUnwindSafe for CommunityScope
impl Send for CommunityScope
impl Sync for CommunityScope
impl Unpin for CommunityScope
impl UnsafeUnpin for CommunityScope
impl UnwindSafe for CommunityScope
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