site is changed
This commit is contained in:
parent
56044e8e37
commit
f20d3aa7e1
|
@ -39,16 +39,18 @@ pub const SUBJECT_CREATE_SITE: &str = const_format::concatcp!(SUBJECT, ".CreateS
|
||||||
pub struct CreateSiteRequest {
|
pub struct CreateSiteRequest {
|
||||||
#[prost(string, tag="1")]
|
#[prost(string, tag="1")]
|
||||||
pub url: ::prost::alloc::string::String,
|
pub url: ::prost::alloc::string::String,
|
||||||
#[prost(string, tag="2")]
|
#[prost(string, optional, tag="2")]
|
||||||
pub name: ::prost::alloc::string::String,
|
pub name: ::core::option::Option<::prost::alloc::string::String>,
|
||||||
#[prost(string, tag="3")]
|
#[prost(string, optional, tag="3")]
|
||||||
pub path: ::prost::alloc::string::String,
|
pub path: ::core::option::Option<::prost::alloc::string::String>,
|
||||||
#[prost(bool, tag="4")]
|
#[prost(bool, tag="4")]
|
||||||
pub show: bool,
|
pub show: bool,
|
||||||
#[prost(bool, tag="5")]
|
#[prost(bool, tag="5")]
|
||||||
pub can_use: bool,
|
pub can_use: bool,
|
||||||
#[prost(uint64, tag="6")]
|
#[prost(string, optional, tag="6")]
|
||||||
pub expires_at: u64,
|
pub memo: ::core::option::Option<::prost::alloc::string::String>,
|
||||||
|
#[prost(uint64, optional, tag="7")]
|
||||||
|
pub expires_at: ::core::option::Option<u64>,
|
||||||
}
|
}
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
pub struct CreateSiteResponse {
|
pub struct CreateSiteResponse {
|
||||||
|
@ -76,16 +78,18 @@ pub struct UpdateSiteRequest {
|
||||||
pub id: ::prost::alloc::string::String,
|
pub id: ::prost::alloc::string::String,
|
||||||
#[prost(string, tag="2")]
|
#[prost(string, tag="2")]
|
||||||
pub url: ::prost::alloc::string::String,
|
pub url: ::prost::alloc::string::String,
|
||||||
#[prost(string, tag="3")]
|
#[prost(string, optional, tag="3")]
|
||||||
pub name: ::prost::alloc::string::String,
|
pub name: ::core::option::Option<::prost::alloc::string::String>,
|
||||||
#[prost(string, tag="4")]
|
#[prost(string, optional, tag="4")]
|
||||||
pub path: ::prost::alloc::string::String,
|
pub path: ::core::option::Option<::prost::alloc::string::String>,
|
||||||
#[prost(bool, tag="5")]
|
#[prost(bool, tag="5")]
|
||||||
pub show: bool,
|
pub show: bool,
|
||||||
#[prost(bool, tag="6")]
|
#[prost(bool, tag="6")]
|
||||||
pub can_use: bool,
|
pub can_use: bool,
|
||||||
#[prost(uint64, tag="7")]
|
#[prost(string, optional, tag="7")]
|
||||||
pub expires_at: u64,
|
pub memo: ::core::option::Option<::prost::alloc::string::String>,
|
||||||
|
#[prost(uint64, optional, tag="8")]
|
||||||
|
pub expires_at: ::core::option::Option<u64>,
|
||||||
}
|
}
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
pub struct UpdateSiteResponse {
|
pub struct UpdateSiteResponse {
|
||||||
|
|
|
@ -4,18 +4,20 @@ pub struct Site {
|
||||||
pub id: ::prost::alloc::string::String,
|
pub id: ::prost::alloc::string::String,
|
||||||
#[prost(string, tag="2")]
|
#[prost(string, tag="2")]
|
||||||
pub url: ::prost::alloc::string::String,
|
pub url: ::prost::alloc::string::String,
|
||||||
#[prost(string, tag="3")]
|
#[prost(string, optional, tag="3")]
|
||||||
pub name: ::prost::alloc::string::String,
|
pub name: ::core::option::Option<::prost::alloc::string::String>,
|
||||||
#[prost(string, tag="4")]
|
#[prost(string, optional, tag="4")]
|
||||||
pub path: ::prost::alloc::string::String,
|
pub path: ::core::option::Option<::prost::alloc::string::String>,
|
||||||
#[prost(bool, tag="5")]
|
#[prost(bool, tag="5")]
|
||||||
pub show: bool,
|
pub show: bool,
|
||||||
#[prost(bool, tag="6")]
|
#[prost(bool, tag="6")]
|
||||||
pub can_use: bool,
|
pub can_use: bool,
|
||||||
#[prost(uint64, tag="7")]
|
#[prost(string, optional, tag="7")]
|
||||||
pub expires_at: u64,
|
pub memo: ::core::option::Option<::prost::alloc::string::String>,
|
||||||
#[prost(uint64, tag="8")]
|
#[prost(uint64, optional, tag="8")]
|
||||||
pub created_at: u64,
|
pub expires_at: ::core::option::Option<u64>,
|
||||||
#[prost(uint64, tag="9")]
|
#[prost(uint64, tag="9")]
|
||||||
|
pub created_at: u64,
|
||||||
|
#[prost(uint64, tag="10")]
|
||||||
pub updated_at: u64,
|
pub updated_at: u64,
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,16 +43,18 @@ pub struct CreateSiteRequest {
|
||||||
pub client: ::core::option::Option<core::network::Client>,
|
pub client: ::core::option::Option<core::network::Client>,
|
||||||
#[prost(string, tag="2")]
|
#[prost(string, tag="2")]
|
||||||
pub url: ::prost::alloc::string::String,
|
pub url: ::prost::alloc::string::String,
|
||||||
#[prost(string, tag="3")]
|
#[prost(string, optional, tag="3")]
|
||||||
pub name: ::prost::alloc::string::String,
|
pub name: ::core::option::Option<::prost::alloc::string::String>,
|
||||||
#[prost(string, tag="4")]
|
#[prost(string, optional, tag="4")]
|
||||||
pub path: ::prost::alloc::string::String,
|
pub path: ::core::option::Option<::prost::alloc::string::String>,
|
||||||
#[prost(bool, tag="5")]
|
#[prost(bool, tag="5")]
|
||||||
pub show: bool,
|
pub show: bool,
|
||||||
#[prost(bool, tag="6")]
|
#[prost(bool, tag="6")]
|
||||||
pub can_use: bool,
|
pub can_use: bool,
|
||||||
#[prost(uint64, tag="7")]
|
#[prost(string, optional, tag="7")]
|
||||||
pub expires_at: u64,
|
pub memo: ::core::option::Option<::prost::alloc::string::String>,
|
||||||
|
#[prost(uint64, optional, tag="8")]
|
||||||
|
pub expires_at: ::core::option::Option<u64>,
|
||||||
}
|
}
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
pub struct CreateSiteResponse {
|
pub struct CreateSiteResponse {
|
||||||
|
@ -82,16 +84,18 @@ pub struct UpdateSiteRequest {
|
||||||
pub id: ::prost::alloc::string::String,
|
pub id: ::prost::alloc::string::String,
|
||||||
#[prost(string, tag="3")]
|
#[prost(string, tag="3")]
|
||||||
pub url: ::prost::alloc::string::String,
|
pub url: ::prost::alloc::string::String,
|
||||||
#[prost(string, tag="4")]
|
#[prost(string, optional, tag="4")]
|
||||||
pub name: ::prost::alloc::string::String,
|
pub name: ::core::option::Option<::prost::alloc::string::String>,
|
||||||
#[prost(string, tag="5")]
|
#[prost(string, optional, tag="5")]
|
||||||
pub path: ::prost::alloc::string::String,
|
pub path: ::core::option::Option<::prost::alloc::string::String>,
|
||||||
#[prost(bool, tag="6")]
|
#[prost(bool, tag="6")]
|
||||||
pub show: bool,
|
pub show: bool,
|
||||||
#[prost(bool, tag="7")]
|
#[prost(bool, tag="7")]
|
||||||
pub can_use: bool,
|
pub can_use: bool,
|
||||||
#[prost(uint64, tag="8")]
|
#[prost(string, optional, tag="8")]
|
||||||
pub expires_at: u64,
|
pub memo: ::core::option::Option<::prost::alloc::string::String>,
|
||||||
|
#[prost(uint64, optional, tag="9")]
|
||||||
|
pub expires_at: ::core::option::Option<u64>,
|
||||||
}
|
}
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
pub struct UpdateSiteResponse {
|
pub struct UpdateSiteResponse {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user