pub struct OwnBindingFacts {
pub context: Option<BindingContext>,
pub resource_name: String,
pub resource_group: Option<String>,
pub location: Option<String>,
pub urls: Vec<String>,
}Expand description
What an enforcer knows about the resource a workload runs as, to check the workload’s own binding against. The binding tells the workload’s code where to reach itself, so every field that picks a destination has to come from the install, not from the control plane.
Fields§
§context: Option<BindingContext>Where the enforcer runs.
resource_name: StringThe function, service, Container App or machine container the binding must name.
resource_group: Option<String>The Azure resource group of the install.
location: Option<String>The Cloud Run location the service is in: the one the enforcer is configured with.
urls: Vec<String>The addresses the enforcer reads from the cloud for the resource: the only ones any URL
field (privateUrl, publicUrl, a Lambda function’s url) may carry. A name the
control plane picked, such as a custom or generated domain, is in none of them.
Trait Implementations§
Source§impl Clone for OwnBindingFacts
impl Clone for OwnBindingFacts
Source§impl Debug for OwnBindingFacts
impl Debug for OwnBindingFacts
Source§impl Default for OwnBindingFacts
impl Default for OwnBindingFacts
impl Eq for OwnBindingFacts
Source§impl PartialEq for OwnBindingFacts
impl PartialEq for OwnBindingFacts
impl StructuralPartialEq for OwnBindingFacts
Auto Trait Implementations§
impl Forget for OwnBindingFacts
impl Freeze for OwnBindingFacts
impl Move for OwnBindingFacts
impl RefUnwindSafe for OwnBindingFacts
impl Send for OwnBindingFacts
impl Sync for OwnBindingFacts
impl Unpin for OwnBindingFacts
impl UnsafeUnpin for OwnBindingFacts
impl UnwindSafe for OwnBindingFacts
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