pub struct LockedProtoFile {
pub path: String,
pub fingerprint: String,
}Expand description
Proto file reference in lock file (NO content, just path and fingerprint)
Fields§
§path: StringRelative path from project’s proto/ folder (e.g., “user-service/user.v1.proto”)
fingerprint: StringSemantic fingerprint of the file (format: “semantic:hash”)
Trait Implementations§
Source§impl Clone for LockedProtoFile
impl Clone for LockedProtoFile
Source§fn clone(&self) -> LockedProtoFile
fn clone(&self) -> LockedProtoFile
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 LockedProtoFile
impl Debug for LockedProtoFile
Source§impl<'de> Deserialize<'de> for LockedProtoFile
impl<'de> Deserialize<'de> for LockedProtoFile
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 LockedProtoFile
impl RefUnwindSafe for LockedProtoFile
impl Send for LockedProtoFile
impl Sync for LockedProtoFile
impl Unpin for LockedProtoFile
impl UnsafeUnpin for LockedProtoFile
impl UnwindSafe for LockedProtoFile
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