pub struct CreateCollectionQuery {
pub name: String,
pub kind: String,
pub if_not_exists: bool,
pub allowed_signers: Vec<[u8; 32]>,
}Expand description
CREATE COLLECTION name KIND kind [SIGNED_BY (‘pubkey_hex’, …)]
Fields§
§name: String§kind: String§if_not_exists: bool§allowed_signers: Vec<[u8; 32]>Initial Ed25519 allowed-signer registry. Empty = unsigned collection.
Each entry is a 32-byte Ed25519 public key. Mutable post-create via
ALTER COLLECTION ... ADD|REVOKE SIGNER (see issue #520).
Trait Implementations§
Source§impl Clone for CreateCollectionQuery
impl Clone for CreateCollectionQuery
Source§fn clone(&self) -> CreateCollectionQuery
fn clone(&self) -> CreateCollectionQuery
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 Freeze for CreateCollectionQuery
impl RefUnwindSafe for CreateCollectionQuery
impl Send for CreateCollectionQuery
impl Sync for CreateCollectionQuery
impl Unpin for CreateCollectionQuery
impl UnsafeUnpin for CreateCollectionQuery
impl UnwindSafe for CreateCollectionQuery
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request