Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use Blob? #24

Open
miladamery opened this issue Nov 9, 2023 · 0 comments
Open

How to use Blob? #24

miladamery opened this issue Nov 9, 2023 · 0 comments

Comments

@miladamery
Copy link

Hi. I'm developing a Rust application using stargate-grpc-rust to connect to astra db. When issuing query one of my result set columns is of blobl type in astradb. how can I transform my ResultSet into rust specific struct.
Here is my struct:

struct location {
  city: String,
  longitude: f32,
  latitude: f32,
  name: String,
  image: Blob <-- how to get this?
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant