pub struct AdminPassthroughConfig {
pub cluster: String,
pub prefixes: Vec<String>,
pub endpoint: Option<String>,
}Expand description
The admin pass-through policy: the cluster that answers admin requests and the allow-listed path prefixes.
Fields§
§cluster: StringThe cluster id admin requests are forwarded to.
prefixes: Vec<String>The allow-listed path prefixes (e.g. /_cat/).
endpoint: Option<String>The admin cluster’s base URL, or None to resolve it via the tenancy’s
cluster_endpoint lookup.
Trait Implementations§
Source§impl Clone for AdminPassthroughConfig
impl Clone for AdminPassthroughConfig
Source§fn clone(&self) -> AdminPassthroughConfig
fn clone(&self) -> AdminPassthroughConfig
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 AdminPassthroughConfig
impl Debug for AdminPassthroughConfig
impl Eq for AdminPassthroughConfig
Source§impl PartialEq for AdminPassthroughConfig
impl PartialEq for AdminPassthroughConfig
Source§fn eq(&self, other: &AdminPassthroughConfig) -> bool
fn eq(&self, other: &AdminPassthroughConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AdminPassthroughConfig
Auto Trait Implementations§
impl Freeze for AdminPassthroughConfig
impl RefUnwindSafe for AdminPassthroughConfig
impl Send for AdminPassthroughConfig
impl Sync for AdminPassthroughConfig
impl Unpin for AdminPassthroughConfig
impl UnsafeUnpin for AdminPassthroughConfig
impl UnwindSafe for AdminPassthroughConfig
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