/// Converts a SubnetId into its protobuf definition.  Normally, we would use
/// `impl From<SubnetId> for pb::SubnetId` here however we cannot as both
/// `Id` and `pb::SubnetId` are defined in other crates.
Converts a SubnetId into its protobuf definition.
Converts a SubnetId into its protobuf definition .
pub fn subnet_id_into_protobuf(id: SubnetId) -> pb::SubnetId {
    pb::SubnetId {
        principal_id: Some(pb::PrincipalId::from(id.get())),
    }
}
pub fn subnet_id_into_protobuf ( id : SubnetId ) -> pb :: SubnetId { pb :: SubnetId { principal_id : Some ( pb :: PrincipalId :: from ( id . get ( ) ) ) , } }
Converts a SubnetId into its protobuf definition.
Converts a SubnetId into its protobuf definition .
id
SubnetId