pub struct SchemaGetQuery {
pub namespace: String,
pub version: u32,
}Expand description
GET /v1/schema query — namespace and version are both optional.
version = 0 asks Brain for the active version, which is the default a
caller wants; an explicit version fetches a historical one.
Fields§
§namespace: String§version: u32Implementations§
Source§impl SchemaGetQuery
impl SchemaGetQuery
pub fn to_request(&self) -> SchemaGetRequest
Trait Implementations§
Source§impl Debug for SchemaGetQuery
impl Debug for SchemaGetQuery
Source§impl<'de> Deserialize<'de> for SchemaGetQuery
impl<'de> Deserialize<'de> for SchemaGetQuery
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 SchemaGetQuery
impl RefUnwindSafe for SchemaGetQuery
impl Send for SchemaGetQuery
impl Sync for SchemaGetQuery
impl Unpin for SchemaGetQuery
impl UnsafeUnpin for SchemaGetQuery
impl UnwindSafe for SchemaGetQuery
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