nominal-api-proto 0.1364.0

Protobuf/gRPC API bindings for the Nominal platform
Documentation
// This file is @generated by prost-build.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BranchOrCommit {
    #[prost(oneof = "branch_or_commit::BranchOrCommit", tags = "1, 2")]
    pub branch_or_commit: ::core::option::Option<branch_or_commit::BranchOrCommit>,
}
/// Nested message and enum types in `BranchOrCommit`.
pub mod branch_or_commit {
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum BranchOrCommit {
        #[prost(string, tag = "1")]
        Branch(::prost::alloc::string::String),
        #[prost(string, tag = "2")]
        Commit(::prost::alloc::string::String),
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Commit {
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub resource_rid: ::prost::alloc::string::String,
    #[prost(string, optional, tag = "3")]
    pub parent_commit: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag = "4")]
    pub merge_parent_commit: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, tag = "5")]
    pub message: ::prost::alloc::string::String,
    #[prost(bool, tag = "6")]
    pub is_working_state: bool,
    #[prost(string, tag = "7")]
    pub committed_by: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "8")]
    pub committed_at: ::core::option::Option<
        super::super::super::google::protobuf::Timestamp,
    >,
}