pub struct OsGatewayKeys<'a> {
pub event_type: &'a str,
pub scope_address: &'a str,
pub target_account: &'a str,
pub access_grant_id: &'a str,
}
Expand description
A simple struct to contain all gateway key constants.
§Parameters
-
event_type
Denotes to Object Store Gateway which functionality to invoke upon digesting this event. -
scope_address
Denotes to Object Store Gateway which Provenance Blockchain Scope this event refers to. -
target_account
Denotes to Object Store Gateway which Provenance Blockchain Account this event will take action upon. -
access_grant_id
If provided, this key denotes to Object Store Gateway that the access grant being referred to should be linked with this ID.
On a grant request: The resulting grant will be created with this ID, or rejected if a grant with this ID already exists.
On a revoke request: An existing grant with the specified scope and target account will be deleted if it exists.
Fields§
§event_type: &'a str
§scope_address: &'a str
§target_account: &'a str
§access_grant_id: &'a str
Auto Trait Implementations§
impl<'a> Freeze for OsGatewayKeys<'a>
impl<'a> RefUnwindSafe for OsGatewayKeys<'a>
impl<'a> Send for OsGatewayKeys<'a>
impl<'a> Sync for OsGatewayKeys<'a>
impl<'a> Unpin for OsGatewayKeys<'a>
impl<'a> UnwindSafe for OsGatewayKeys<'a>
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