pub struct ProtocolPolicyInputs {
pub git_allow_protocol: Option<String>,
pub git_protocol_from_user: Option<String>,
pub specific_allow: Option<String>,
pub blanket_allow: Option<String>,
}Expand description
Explicit inputs for protocol allow/deny evaluation.
Fields§
§git_allow_protocol: Option<String>GIT_ALLOW_PROTOCOL value, when set.
git_protocol_from_user: Option<String>GIT_PROTOCOL_FROM_USER value, when set.
specific_allow: Option<String>protocol.<name>.allow config value.
blanket_allow: Option<String>protocol.allow config value.
Trait Implementations§
Source§impl Clone for ProtocolPolicyInputs
impl Clone for ProtocolPolicyInputs
Source§fn clone(&self) -> ProtocolPolicyInputs
fn clone(&self) -> ProtocolPolicyInputs
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 ProtocolPolicyInputs
impl Debug for ProtocolPolicyInputs
Source§impl Default for ProtocolPolicyInputs
impl Default for ProtocolPolicyInputs
Source§fn default() -> ProtocolPolicyInputs
fn default() -> ProtocolPolicyInputs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProtocolPolicyInputs
impl RefUnwindSafe for ProtocolPolicyInputs
impl Send for ProtocolPolicyInputs
impl Sync for ProtocolPolicyInputs
impl Unpin for ProtocolPolicyInputs
impl UnsafeUnpin for ProtocolPolicyInputs
impl UnwindSafe for ProtocolPolicyInputs
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