pub struct ProbeResponse {
pub allowed: bool,
pub reason: Option<String>,
pub max_suffix_length: Option<u8>,
}Expand description
Response to a PROBE request (/<ca-prefix>/CA/PROBE).
Allows a client to check whether the CA will serve a given name before committing to a full enrollment. Does not create any state on the CA.
Fields§
§allowed: boolWhether the CA’s namespace policy permits issuing for the requested name.
reason: Option<String>Reason for denial (present when allowed == false).
max_suffix_length: Option<u8>Maximum number of name components the CA permits after its own prefix.
None means no limit.
Trait Implementations§
Source§impl Clone for ProbeResponse
impl Clone for ProbeResponse
Source§fn clone(&self) -> ProbeResponse
fn clone(&self) -> ProbeResponse
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 Debug for ProbeResponse
impl Debug for ProbeResponse
Source§impl<'de> Deserialize<'de> for ProbeResponse
impl<'de> Deserialize<'de> for ProbeResponse
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
Auto Trait Implementations§
impl Freeze for ProbeResponse
impl RefUnwindSafe for ProbeResponse
impl Send for ProbeResponse
impl Sync for ProbeResponse
impl Unpin for ProbeResponse
impl UnwindSafe for ProbeResponse
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