pub struct PackOrganizationAccessForCodaBrain {
pub allowed_configurations: Vec<PackConfigurationEntry>,
pub allowed_pack_ids: Vec<f64>,
pub can_request_access: bool,
pub has_requested_access: bool,
pub requires_configuration: bool,
}
Expand description
Describes restrictions that a user’s organization has placed on a pack for Coda Brain ingestions
JSON schema
{
"description": "Describes restrictions that a user's organization has
placed on a pack for Coda Brain ingestions",
"type": "object",
"required": [
"canRequestAccess",
"hasRequestedAccess",
"requiresConfiguration"
],
"properties": {
"allowedConfigurations": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PackConfigurationEntry"
}
},
"allowedPackIds": {
"type": "array",
"items": {
"type": "number"
}
},
"canRequestAccess": {
"type": "boolean"
},
"hasRequestedAccess": {
"type": "boolean"
},
"requiresConfiguration": {
"type": "boolean"
}
},
"additionalProperties": false,
"x-schema-name": "PackOrganizationAccessForCodaBrain"
}
Fields§
§allowed_configurations: Vec<PackConfigurationEntry>
§allowed_pack_ids: Vec<f64>
§can_request_access: bool
§has_requested_access: bool
§requires_configuration: bool
Trait Implementations§
Source§impl Clone for PackOrganizationAccessForCodaBrain
impl Clone for PackOrganizationAccessForCodaBrain
Source§fn clone(&self) -> PackOrganizationAccessForCodaBrain
fn clone(&self) -> PackOrganizationAccessForCodaBrain
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<'de> Deserialize<'de> for PackOrganizationAccessForCodaBrain
impl<'de> Deserialize<'de> for PackOrganizationAccessForCodaBrain
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
Source§impl From<&PackOrganizationAccessForCodaBrain> for PackOrganizationAccessForCodaBrain
impl From<&PackOrganizationAccessForCodaBrain> for PackOrganizationAccessForCodaBrain
Source§fn from(value: &PackOrganizationAccessForCodaBrain) -> Self
fn from(value: &PackOrganizationAccessForCodaBrain) -> Self
Converts to this type from the input type.
Source§impl From<PackOrganizationAccessForCodaBrain> for PackUserAccessOrganization
impl From<PackOrganizationAccessForCodaBrain> for PackUserAccessOrganization
Source§fn from(value: PackOrganizationAccessForCodaBrain) -> Self
fn from(value: PackOrganizationAccessForCodaBrain) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PackOrganizationAccessForCodaBrain
impl RefUnwindSafe for PackOrganizationAccessForCodaBrain
impl Send for PackOrganizationAccessForCodaBrain
impl Sync for PackOrganizationAccessForCodaBrain
impl Unpin for PackOrganizationAccessForCodaBrain
impl UnwindSafe for PackOrganizationAccessForCodaBrain
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