pub struct ObjectService { /* private fields */ }Expand description
application.object 资源服务(中间级,绑 namespace + object_api_name)
Implementations§
Source§impl ObjectService
impl ObjectService
Sourcepub fn new(
config: Arc<PlatformConfig>,
namespace: impl Into<String>,
object_api_name: impl Into<String>,
) -> Self
pub fn new( config: Arc<PlatformConfig>, namespace: impl Into<String>, object_api_name: impl Into<String>, ) -> Self
创建新的 object 服务
Sourcepub fn record(&self) -> RecordService
pub fn record(&self) -> RecordService
object.record 子资源(叶子级)
Sourcepub fn search(&self, search: impl Into<String>) -> RecordSearchRequestBuilder
pub fn search(&self, search: impl Into<String>) -> RecordSearchRequestBuilder
记录搜索
Sourcepub fn oql_query(&self, oql: impl Into<String>) -> OqlQueryRequestBuilder
pub fn oql_query(&self, oql: impl Into<String>) -> OqlQueryRequestBuilder
OQL 查询
Trait Implementations§
Source§impl Clone for ObjectService
impl Clone for ObjectService
Source§fn clone(&self) -> ObjectService
fn clone(&self) -> ObjectService
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 ObjectService
impl !UnwindSafe for ObjectService
impl Freeze for ObjectService
impl Send for ObjectService
impl Sync for ObjectService
impl Unpin for ObjectService
impl UnsafeUnpin for ObjectService
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