pub struct ApplicationService { /* private fields */ }Expand description
application 资源服务(中间级,绑定 namespace)
Implementations§
Source§impl ApplicationService
impl ApplicationService
Sourcepub fn new(config: Arc<PlatformConfig>, namespace: impl Into<String>) -> Self
pub fn new(config: Arc<PlatformConfig>, namespace: impl Into<String>) -> Self
创建新的 application 服务
Sourcepub fn object(&self, object_api_name: impl Into<String>) -> ObjectService
pub fn object(&self, object_api_name: impl Into<String>) -> ObjectService
application.object 子资源
Sourcepub fn role(&self, role_api_name: impl Into<String>) -> RoleService
pub fn role(&self, role_api_name: impl Into<String>) -> RoleService
application.role 子资源
Sourcepub fn record_permission(
&self,
record_permission_api_name: impl Into<String>,
) -> RecordPermissionService
pub fn record_permission( &self, record_permission_api_name: impl Into<String>, ) -> RecordPermissionService
application.record_permission 子资源
Sourcepub fn environment_variable(&self) -> EnvironmentVariableService
pub fn environment_variable(&self) -> EnvironmentVariableService
application.environment_variable 子资源(叶子级)
Sourcepub fn function(&self, function_api_name: impl Into<String>) -> FunctionService
pub fn function(&self, function_api_name: impl Into<String>) -> FunctionService
application.function 子资源
Sourcepub fn flow(&self, flow_id: impl Into<String>) -> FlowService
pub fn flow(&self, flow_id: impl Into<String>) -> FlowService
application.flow 子资源
Sourcepub fn audit_log(&self) -> AuditLogService
pub fn audit_log(&self) -> AuditLogService
application.audit_log 子资源
Trait Implementations§
Source§impl Clone for ApplicationService
impl Clone for ApplicationService
Source§fn clone(&self) -> ApplicationService
fn clone(&self) -> ApplicationService
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for ApplicationService
impl !UnwindSafe for ApplicationService
impl Freeze for ApplicationService
impl Send for ApplicationService
impl Sync for ApplicationService
impl Unpin for ApplicationService
impl UnsafeUnpin for ApplicationService
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