pub struct ConnectionProfile {
pub id: String,
pub name: String,
pub kind: String,
pub host: String,
pub port: u16,
pub user: String,
pub protocol: String,
pub reject_unauthorized: bool,
}Expand description
Connection profile metadata. Secrets (password / token) live in the OS
keyring under flow-security’s zowe:<id> account; this struct only
carries non-secret fields.
Fields§
§id: String§name: String§kind: StringConnection type - "zosmf" is the only one supported in v1; reserved
for "ssh", "db2", etc. as adapters land.
host: String§port: u16§user: String§protocol: String"https" (default) or "http" for plaintext zosmf endpoints.
When false, refuse to connect over TLS to a server with a self-signed
or otherwise untrusted certificate. Defaults to true for safety;
users who need to talk to internal LPARs with self-signed certs flip it.
Implementations§
Trait Implementations§
Source§impl Clone for ConnectionProfile
impl Clone for ConnectionProfile
Source§fn clone(&self) -> ConnectionProfile
fn clone(&self) -> ConnectionProfile
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 ConnectionProfile
impl Debug for ConnectionProfile
Source§impl<'de> Deserialize<'de> for ConnectionProfile
impl<'de> Deserialize<'de> for ConnectionProfile
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 ConnectionProfile
impl RefUnwindSafe for ConnectionProfile
impl Send for ConnectionProfile
impl Sync for ConnectionProfile
impl Unpin for ConnectionProfile
impl UnsafeUnpin for ConnectionProfile
impl UnwindSafe for ConnectionProfile
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