pub struct PublicRpc {
pub name: String,
pub scope: Vec<String>,
}Fields§
§name: String§scope: Vec<String>Keys to enforce-match between the share token’s context and the
request body. Empty scope means anonymous access (no share token
required). Non-empty means a share token IS required and the listed
keys MUST match exactly.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PublicRpc
impl<'de> Deserialize<'de> for PublicRpc
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PublicRpc
impl RefUnwindSafe for PublicRpc
impl Send for PublicRpc
impl Sync for PublicRpc
impl Unpin for PublicRpc
impl UnsafeUnpin for PublicRpc
impl UnwindSafe for PublicRpc
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