pub struct OriginSpec {
pub origin_type: OriginType,
pub url: String,
pub branch: String,
pub auth: Option<String>,
pub ssh_strict_host_key_checking: SshHostKeyPolicy,
}Fields§
§origin_type: OriginType§url: String§branch: String§auth: Option<String>§ssh_strict_host_key_checking: SshHostKeyPolicySSH StrictHostKeyChecking policy for git operations.
AcceptNew (default): accept first-seen keys, reject changed keys.
Yes: require keys to already exist in known_hosts (high-security).
No: accept any key (insecure, not recommended).
Trait Implementations§
Source§impl Clone for OriginSpec
impl Clone for OriginSpec
Source§fn clone(&self) -> OriginSpec
fn clone(&self) -> OriginSpec
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 OriginSpec
impl Debug for OriginSpec
Source§impl<'de> Deserialize<'de> for OriginSpec
impl<'de> Deserialize<'de> for OriginSpec
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 OriginSpec
impl RefUnwindSafe for OriginSpec
impl Send for OriginSpec
impl Sync for OriginSpec
impl Unpin for OriginSpec
impl UnsafeUnpin for OriginSpec
impl UnwindSafe for OriginSpec
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