pub struct ConsulLinkedService {
pub name: String,
pub ca_file: Option<String>,
pub cert_file: Option<String>,
pub key_file: Option<String>,
pub sni: String,
}
Expand description
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§name: String
§ca_file: Option<String>
§cert_file: Option<String>
§key_file: Option<String>
§sni: String
Trait Implementations§
Source§impl Clone for ConsulLinkedService
impl Clone for ConsulLinkedService
Source§fn clone(&self) -> ConsulLinkedService
fn clone(&self) -> ConsulLinkedService
Returns a copy 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 ConsulLinkedService
impl Debug for ConsulLinkedService
Source§impl Default for ConsulLinkedService
impl Default for ConsulLinkedService
Source§fn default() -> ConsulLinkedService
fn default() -> ConsulLinkedService
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConsulLinkedService
impl<'de> Deserialize<'de> for ConsulLinkedService
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
Source§impl PartialEq for ConsulLinkedService
impl PartialEq for ConsulLinkedService
Source§impl Serialize for ConsulLinkedService
impl Serialize for ConsulLinkedService
impl StructuralPartialEq for ConsulLinkedService
Auto Trait Implementations§
impl Freeze for ConsulLinkedService
impl RefUnwindSafe for ConsulLinkedService
impl Send for ConsulLinkedService
impl Sync for ConsulLinkedService
impl Unpin for ConsulLinkedService
impl UnwindSafe for ConsulLinkedService
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