pub struct RemoteBindings {
pub id: String,
pub grants: Vec<RemoteBindingGrant>,
}Expand description
Setup-owned identity used to issue short-lived application credentials for explicitly published resources.
Fields§
§id: String§grants: Vec<RemoteBindingGrant>Resource-neutral desired grants. Setup generators and direct controllers compile this from the Remote Bindings registry; users do not author it directly.
Implementations§
Source§impl RemoteBindings
impl RemoteBindings
Sourcepub fn new(id: String) -> RemoteBindingsBuilder
pub fn new(id: String) -> RemoteBindingsBuilder
Create an instance of RemoteBindings using the builder syntax
Source§impl RemoteBindings
impl RemoteBindings
pub const RESOURCE_TYPE: ResourceType
Trait Implementations§
Source§impl Clone for RemoteBindings
impl Clone for RemoteBindings
Source§fn clone(&self) -> RemoteBindings
fn clone(&self) -> RemoteBindings
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 RemoteBindings
impl Debug for RemoteBindings
Source§impl<'de> Deserialize<'de> for RemoteBindings
impl<'de> Deserialize<'de> for RemoteBindings
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 RemoteBindings
Source§impl PartialEq for RemoteBindings
impl PartialEq for RemoteBindings
Source§impl ResourceDefinition for RemoteBindings
impl ResourceDefinition for RemoteBindings
Source§fn get_resource_type(&self) -> ResourceType
fn get_resource_type(&self) -> ResourceType
Returns the resource type for this instance
Source§fn get_dependencies(&self) -> Vec<ResourceRef>
fn get_dependencies(&self) -> Vec<ResourceRef>
Returns the list of other resources this resource depends on
Source§fn validate_update(&self, new_config: &dyn ResourceDefinition) -> Result<()>
fn validate_update(&self, new_config: &dyn ResourceDefinition) -> Result<()>
Validates if an update from the current configuration to a new configuration is allowed
Source§fn as_any_mut(&mut self) -> &mut dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
Provides mutable access to the underlying concrete type for downcasting
Source§fn box_clone(&self) -> Box<dyn ResourceDefinition>
fn box_clone(&self) -> Box<dyn ResourceDefinition>
Creates a boxed clone of this resource definition
Source§fn resource_eq(&self, other: &dyn ResourceDefinition) -> bool
fn resource_eq(&self, other: &dyn ResourceDefinition) -> bool
For equality comparison between resource definitions
Source§fn to_json_value(&self) -> Result<Value>
fn to_json_value(&self) -> Result<Value>
Serialize this resource to a JSON value (without the “type” tag - that’s added by Resource)
Source§impl Serialize for RemoteBindings
impl Serialize for RemoteBindings
impl StructuralPartialEq for RemoteBindings
Auto Trait Implementations§
impl Freeze for RemoteBindings
impl RefUnwindSafe for RemoteBindings
impl Send for RemoteBindings
impl Sync for RemoteBindings
impl Unpin for RemoteBindings
impl UnsafeUnpin for RemoteBindings
impl UnwindSafe for RemoteBindings
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.