pub struct MeshInfo {
pub id: String,
pub name: String,
pub mesh_type: String,
pub provider: String,
pub auth_type: String,
pub jwt_secret: Option<String>,
pub jwt_private_key_path: Option<String>,
pub jwt_public_key_path: Option<String>,
pub ingress: Vec<String>,
pub egress: Vec<String>,
pub enabled: bool,
pub description: Option<String>,
}Expand description
Mesh information returned from Runbeam Cloud API
Fields§
§id: StringUnique mesh identifier (ULID)
name: StringHuman-readable mesh name
mesh_type: StringProtocol type for mesh communication (http, http3)
provider: StringMesh provider (local, runbeam)
auth_type: StringAuthentication type for mesh members (currently only “jwt”)
jwt_secret: Option<String>JWT secret for HS256 symmetric key authentication (local provider)
jwt_private_key_path: Option<String>Path to RSA private key (PEM) for RS256 JWT signing (local provider)
jwt_public_key_path: Option<String>Path to RSA public key (PEM) for RS256 JWT verification (local provider)
ingress: Vec<String>List of ingress definition names
egress: Vec<String>List of egress definition names
enabled: boolWhether the mesh is enabled
description: Option<String>Optional description
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MeshInfo
impl<'de> Deserialize<'de> for MeshInfo
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 MeshInfo
impl RefUnwindSafe for MeshInfo
impl Send for MeshInfo
impl Sync for MeshInfo
impl Unpin for MeshInfo
impl UnwindSafe for MeshInfo
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