pub struct ProtoDefinition {
pub endpoint: String,
}
Expand description
Proto definition for gRPC
Fields§
§endpoint: String
Proto file endpoint or inline content
Trait Implementations§
Source§impl Clone for ProtoDefinition
impl Clone for ProtoDefinition
Source§fn clone(&self) -> ProtoDefinition
fn clone(&self) -> ProtoDefinition
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 ProtoDefinition
impl Debug for ProtoDefinition
Source§impl<'de> Deserialize<'de> for ProtoDefinition
impl<'de> Deserialize<'de> for ProtoDefinition
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 ProtoDefinition
impl RefUnwindSafe for ProtoDefinition
impl Send for ProtoDefinition
impl Sync for ProtoDefinition
impl Unpin for ProtoDefinition
impl UnwindSafe for ProtoDefinition
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