pub struct GraphScopeCreationContext {
    pub admin_group_description: Option<String>,
    pub admin_group_name: Option<String>,
    pub creator_id: Option<String>,
    pub name: Option<String>,
    pub scope_type: Option<ScopeType>,
    pub storage_key: Option<String>,
}Expand description
This type is the subset of fields that can be provided by the user to create a Vsts scope. Scope creation is currently limited to internal back-compat scenarios. End users that attempt to create a scope with this API will fail.
Fields§
§admin_group_description: Option<String>Set this field to override the default description of this scope’s admin group.
admin_group_name: Option<String>All scopes have an Administrator Group that controls access to the contents of the scope. Set this field to use a non-default group name for that administrators group.
creator_id: Option<String>Set this optional field if this scope is created on behalf of a user other than the user making the request. This should be the Id of the user that is not the requester.
name: Option<String>The scope must be provided with a unique name within the parent scope. This means the created scope can have a parent or child with the same name, but no siblings with the same name.
scope_type: Option<ScopeType>The type of scope being created.
storage_key: Option<String>An optional ID that uniquely represents the scope within it’s parent scope. If this parameter is not provided, Vsts will generate on automatically.
Implementations§
Trait Implementations§
source§impl Clone for GraphScopeCreationContext
 
impl Clone for GraphScopeCreationContext
source§fn clone(&self) -> GraphScopeCreationContext
 
fn clone(&self) -> GraphScopeCreationContext
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GraphScopeCreationContext
 
impl Debug for GraphScopeCreationContext
source§impl Default for GraphScopeCreationContext
 
impl Default for GraphScopeCreationContext
source§fn default() -> GraphScopeCreationContext
 
fn default() -> GraphScopeCreationContext
source§impl<'de> Deserialize<'de> for GraphScopeCreationContext
 
impl<'de> Deserialize<'de> for GraphScopeCreationContext
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>,
source§impl PartialEq for GraphScopeCreationContext
 
impl PartialEq for GraphScopeCreationContext
source§fn eq(&self, other: &GraphScopeCreationContext) -> bool
 
fn eq(&self, other: &GraphScopeCreationContext) -> bool
self and other values to be equal, and is used
by ==.