pub struct CloneSecurityPreflight {
pub allow_insecure: bool,
pub requires_network_session: bool,
}Expand description
Security flags assembled for network clone sessions (no connect performed).
Fields§
§allow_insecure: boolPass to HostedSession::with_allow_insecure / client config.
requires_network_session: boolCaller must build a hosted session and validate TLS/auth before any
destination create_dir_all / Repository::init.
Trait Implementations§
Source§impl Clone for CloneSecurityPreflight
impl Clone for CloneSecurityPreflight
Source§fn clone(&self) -> CloneSecurityPreflight
fn clone(&self) -> CloneSecurityPreflight
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 CloneSecurityPreflight
impl Debug for CloneSecurityPreflight
impl Eq for CloneSecurityPreflight
Source§impl PartialEq for CloneSecurityPreflight
impl PartialEq for CloneSecurityPreflight
impl StructuralPartialEq for CloneSecurityPreflight
Auto Trait Implementations§
impl Freeze for CloneSecurityPreflight
impl RefUnwindSafe for CloneSecurityPreflight
impl Send for CloneSecurityPreflight
impl Sync for CloneSecurityPreflight
impl Unpin for CloneSecurityPreflight
impl UnsafeUnpin for CloneSecurityPreflight
impl UnwindSafe for CloneSecurityPreflight
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