pub struct GitHubRepository {
pub name: String,
pub url: String,
pub private: bool,
pub branch: String,
pub writable: bool,
}Expand description
A repository on GitHub that a linked account lets Fauna see.
Fields§
§name: Stringowner/name.
url: StringIts address, https://github.com/{owner}/{name}, which termite::versioning::create imports.
private: bool§branch: StringIts default branch.
writable: boolWhether the account can push to it.
Implementations§
Source§impl GitHubRepository
impl GitHubRepository
pub fn from_json(json: &Value) -> GitHubRepository
Trait Implementations§
Source§impl Clone for GitHubRepository
impl Clone for GitHubRepository
Source§impl Debug for GitHubRepository
impl Debug for GitHubRepository
Source§impl<'de> Deserialize<'de> for GitHubRepository
impl<'de> Deserialize<'de> for GitHubRepository
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
impl Eq for GitHubRepository
Source§impl PartialEq for GitHubRepository
impl PartialEq for GitHubRepository
Source§impl Serialize for GitHubRepository
impl Serialize for GitHubRepository
impl StructuralPartialEq for GitHubRepository
Auto Trait Implementations§
impl Forget for GitHubRepository
impl Freeze for GitHubRepository
impl Move for GitHubRepository
impl RefUnwindSafe for GitHubRepository
impl Send for GitHubRepositorywhere
RawVecInner: Send,
impl Sync for GitHubRepositorywhere
RawVecInner: Sync,
impl Unpin for GitHubRepository
impl UnsafeUnpin for GitHubRepository
impl UnwindSafe for GitHubRepositorywhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.