pub struct LockSource {
pub name: String,
pub kind: String,
pub url: String,
pub revision: Option<String>,
pub host_key_fingerprint: Option<String>,
}Fields§
§name: String§kind: String§url: String§revision: Option<String>§host_key_fingerprint: Option<String>Trait Implementations§
Source§impl Clone for LockSource
impl Clone for LockSource
Source§fn clone(&self) -> LockSource
fn clone(&self) -> LockSource
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 LockSource
impl Debug for LockSource
Source§impl<'de> Deserialize<'de> for LockSource
impl<'de> Deserialize<'de> for LockSource
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
impl Eq for LockSource
Source§impl PartialEq for LockSource
impl PartialEq for LockSource
Source§impl Serialize for LockSource
impl Serialize for LockSource
impl StructuralPartialEq for LockSource
Auto Trait Implementations§
impl Freeze for LockSource
impl RefUnwindSafe for LockSource
impl Send for LockSource
impl Sync for LockSource
impl Unpin for LockSource
impl UnsafeUnpin for LockSource
impl UnwindSafe for LockSource
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